[FFmpeg-cvslog] lavf: remove the pointless value field from flv and iv8

Anton Khirnov git at videolan.org
Wed Feb 1 03:06:32 CET 2012


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Tue Jan 31 07:46:18 2012 +0100| [9a463917d30147a9728a7b19b03c217527e09046] | committer: Anton Khirnov

lavf: remove the pointless value field from flv and iv8

The demuxers don't use it in any way.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9a463917d30147a9728a7b19b03c217527e09046
---

 libavformat/flvdec.c |    1 -
 libavformat/iv8.c    |    1 -
 2 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c
index ad38653..1e1c29b 100644
--- a/libavformat/flvdec.c
+++ b/libavformat/flvdec.c
@@ -672,5 +672,4 @@ AVInputFormat ff_flv_demuxer = {
 #endif
     .read_close = flv_read_close,
     .extensions = "flv",
-    .value = CODEC_ID_FLV1,
 };
diff --git a/libavformat/iv8.c b/libavformat/iv8.c
index 903de6f..e597911 100644
--- a/libavformat/iv8.c
+++ b/libavformat/iv8.c
@@ -115,5 +115,4 @@ AVInputFormat ff_iv8_demuxer = {
     .read_header    = read_header,
     .read_packet    = read_packet,
     .flags= AVFMT_GENERIC_INDEX,
-    .value = CODEC_ID_MPEG4,
 };



More information about the ffmpeg-cvslog mailing list