[libav-commits] lavf: remove the pointless value field from flv and iv8

Anton Khirnov git at libav.org
Tue Jan 31 18:41:31 CET 2012


Module: libav
Branch: master
Commit: 9a463917d30147a9728a7b19b03c217527e09046

Author:    Anton Khirnov <anton at khirnov.net>
Committer: Anton Khirnov <anton at khirnov.net>
Date:      Tue Jan 31 07:46:18 2012 +0100

lavf: remove the pointless value field from flv and iv8

The demuxers don't use it in any way.

---

 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 libav-commits mailing list