lavf: remove the pointless value field from flv and iv8
authorAnton Khirnov <anton@khirnov.net>
Tue, 31 Jan 2012 06:46:18 +0000 (07:46 +0100)
committerAnton Khirnov <anton@khirnov.net>
Tue, 31 Jan 2012 06:48:03 +0000 (07:48 +0100)
The demuxers don't use it in any way.

libavformat/flvdec.c
libavformat/iv8.c

index ad38653..1e1c29b 100644 (file)
@@ -672,5 +672,4 @@ AVInputFormat ff_flv_demuxer = {
 #endif
     .read_close = flv_read_close,
     .extensions = "flv",
-    .value = CODEC_ID_FLV1,
 };
index 903de6f..e597911 100644 (file)
@@ -115,5 +115,4 @@ AVInputFormat ff_iv8_demuxer = {
     .read_header    = read_header,
     .read_packet    = read_packet,
     .flags= AVFMT_GENERIC_INDEX,
-    .value = CODEC_ID_MPEG4,
 };