---
libavformat/seek-test.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavformat/seek-test.c b/libavformat/seek-test.c
index 143f0b5..a596405 100644
--- a/libavformat/seek-test.c
+++ b/libavformat/seek-test.c
@@ -79,13 +79,13 @@ int main(int argc, char **argv)
ret = avformat_open_input(&ic, filename, NULL, &format_opts);
av_dict_free(&format_opts);
if (ret < 0) {
- fprintf(stderr, "cannot open %s\n", filename);
+ av_log(NULL, AV_LOG_ERROR, "cannot open %s\n", filename);
return 1;
}
ret = avformat_find_stream_info(ic, NULL);
if (ret < 0) {
- fprintf(stderr, "%s: could not find codec parameters\n", filename);
+ av_log(NULL, AV_LOG_ERROR, "%s: could not find codec parameters\n",
filename);
return 1;
}
--
1.8.5.5
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel