]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/loco.c
Use MAP_FAILED to check for mmap failure instead of manually
[ffmpeg] / libavcodec / loco.c
index 48fa829914a849a7a5f4de7c1bd19480164354f2..8f2b8ff325a440cf5edafd485f36271b91f53750 100644 (file)
@@ -248,7 +248,7 @@ static av_cold int decode_init(AVCodecContext *avctx){
         break;
     default:
         l->lossy = AV_RL32(avctx->extradata + 8);
-        av_log(avctx, AV_LOG_INFO, "This is LOCO codec version %i, please upload file for study\n", version);
+        av_log_ask_for_sample(avctx, "This is LOCO codec version %i.\n", version);
     }
 
     l->mode = AV_RL32(avctx->extradata + 4);