]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/rv10.c
h264: Fix parameters to ff_er_add_slice() call
[ffmpeg] / libavcodec / rv10.c
index e01742ffd566aafced29e4a3dd85ab14db62e8f6..8769eae2094b54d318ee01a8a17b9e25fd833d62 100644 (file)
@@ -467,7 +467,7 @@ static av_cold int rv10_decode_init(AVCodecContext *avctx)
         av_log(avctx, AV_LOG_DEBUG, "ver:%X ver0:%X\n", rv->sub_id, avctx->extradata_size >= 4 ? ((uint32_t*)avctx->extradata)[0] : -1);
     }
 
-    avctx->pix_fmt = PIX_FMT_YUV420P;
+    avctx->pix_fmt = AV_PIX_FMT_YUV420P;
 
     if (ff_MPV_common_init(s) < 0)
         return -1;