]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/mmvideo.c
Make Xvid wrapper use threads (with support for newest CVS Xvid only)
[ffmpeg] / libavcodec / mmvideo.c
index 9c169a0044de82f2777344bb078b3f34ec56598a..8b3e656d21a5b25a15ad50c74dc7c3f5b53550fc 100644 (file)
@@ -47,7 +47,7 @@ typedef struct MmContext {
     AVFrame frame;
 } MmContext;
 
-static int mm_decode_init(AVCodecContext *avctx)
+static av_cold int mm_decode_init(AVCodecContext *avctx)
 {
     MmContext *s = avctx->priv_data;
 
@@ -182,7 +182,7 @@ static int mm_decode_frame(AVCodecContext *avctx,
     return buf_size;
 }
 
-static int mm_decode_end(AVCodecContext *avctx)
+static av_cold int mm_decode_end(AVCodecContext *avctx)
 {
     MmContext *s = avctx->priv_data;