]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/anm.c
mkv: Allow flushing the current cluster in progress
[ffmpeg] / libavformat / anm.c
index 064b15739f7ac66204b7f0c1595c9767cd370ef3..f78149285b7f0aeb1ecb19f0aec2ec0181d5cc51 100644 (file)
@@ -85,7 +85,7 @@ static int read_header(AVFormatContext *s)
 
     avio_skip(pb, 4); /* magic number */
     if (avio_rl16(pb) != MAX_PAGES) {
-        av_log_ask_for_sample(s, "max_pages != " AV_STRINGIFY(MAX_PAGES) "\n");
+        avpriv_request_sample(s, "max_pages != " AV_STRINGIFY(MAX_PAGES));
         return AVERROR_PATCHWELCOME;
     }
 
@@ -163,7 +163,7 @@ static int read_header(AVFormatContext *s)
     return 0;
 
 invalid:
-    av_log_ask_for_sample(s, "Invalid header element encountered.\n");
+    avpriv_request_sample(s, "Invalid header element");
     return AVERROR_PATCHWELCOME;
 }