]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/rawvideodec.c
mpegts: Always honor a registration descriptor if present and there is no other codec...
[ffmpeg] / libavformat / rawvideodec.c
index 6ca17d5253bbf84fd36f5d9e056b18b58a061672..5db4e91f2ebce6fc9932c752521bff43b188305b 100644 (file)
@@ -68,6 +68,6 @@ AVInputFormat ff_rawvideo_demuxer = {
     .read_packet    = rawvideo_read_packet,
     .flags= AVFMT_GENERIC_INDEX,
     .extensions = "yuv,cif,qcif,rgb",
-    .value = CODEC_ID_RAWVIDEO,
+    .raw_codec_id   = CODEC_ID_RAWVIDEO,
     .priv_class = &rawvideo_demuxer_class,
 };