[FFmpeg-cvslog] lavf: remove generic index flag from text subtitles.

Clément Bœsch git at videolan.org
Wed Jan 2 10:34:17 CET 2013


ffmpeg | branch: master | Clément Bœsch <ubitux at gmail.com> | Wed Jan  2 10:32:21 2013 +0100| [8bc74221f8ef6fe97801025866943013b94f5e2f] | committer: Clément Bœsch

lavf: remove generic index flag from text subtitles.

This flag is not necessary.

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

 libavformat/jacosubdec.c   |    1 -
 libavformat/microdvddec.c  |    1 -
 libavformat/realtextdec.c  |    1 -
 libavformat/samidec.c      |    1 -
 libavformat/srtdec.c       |    1 -
 libavformat/subviewerdec.c |    1 -
 libavformat/webvttdec.c    |    1 -
 7 files changed, 7 deletions(-)

diff --git a/libavformat/jacosubdec.c b/libavformat/jacosubdec.c
index f45b40b..89e7e1b 100644
--- a/libavformat/jacosubdec.c
+++ b/libavformat/jacosubdec.c
@@ -267,5 +267,4 @@ AVInputFormat ff_jacosub_demuxer = {
     .read_packet    = jacosub_read_packet,
     .read_seek2     = jacosub_read_seek,
     .read_close     = jacosub_read_close,
-    .flags          = AVFMT_GENERIC_INDEX,
 };
diff --git a/libavformat/microdvddec.c b/libavformat/microdvddec.c
index 96ffa3d..4b42846 100644
--- a/libavformat/microdvddec.c
+++ b/libavformat/microdvddec.c
@@ -164,5 +164,4 @@ AVInputFormat ff_microdvd_demuxer = {
     .read_packet    = microdvd_read_packet,
     .read_seek2     = microdvd_read_seek,
     .read_close     = microdvd_read_close,
-    .flags          = AVFMT_GENERIC_INDEX,
 };
diff --git a/libavformat/realtextdec.c b/libavformat/realtextdec.c
index 6a6a844..67bc339 100644
--- a/libavformat/realtextdec.c
+++ b/libavformat/realtextdec.c
@@ -149,6 +149,5 @@ AVInputFormat ff_realtext_demuxer = {
     .read_packet    = realtext_read_packet,
     .read_seek2     = realtext_read_seek,
     .read_close     = realtext_read_close,
-    .flags          = AVFMT_GENERIC_INDEX,
     .extensions     = "rt",
 };
diff --git a/libavformat/samidec.c b/libavformat/samidec.c
index 332752c..2eaee6f 100644
--- a/libavformat/samidec.c
+++ b/libavformat/samidec.c
@@ -133,6 +133,5 @@ AVInputFormat ff_sami_demuxer = {
     .read_packet    = sami_read_packet,
     .read_seek2     = sami_read_seek,
     .read_close     = sami_read_close,
-    .flags          = AVFMT_GENERIC_INDEX,
     .extensions     = "smi,sami",
 };
diff --git a/libavformat/srtdec.c b/libavformat/srtdec.c
index 559aa4a..809d1d0 100644
--- a/libavformat/srtdec.c
+++ b/libavformat/srtdec.c
@@ -158,5 +158,4 @@ AVInputFormat ff_srt_demuxer = {
     .read_packet = srt_read_packet,
     .read_seek2  = srt_read_seek,
     .read_close  = srt_read_close,
-    .flags       = AVFMT_GENERIC_INDEX,
 };
diff --git a/libavformat/subviewerdec.c b/libavformat/subviewerdec.c
index ac3a06a..439f5e7 100644
--- a/libavformat/subviewerdec.c
+++ b/libavformat/subviewerdec.c
@@ -179,6 +179,5 @@ AVInputFormat ff_subviewer_demuxer = {
     .read_packet    = subviewer_read_packet,
     .read_seek2     = subviewer_read_seek,
     .read_close     = subviewer_read_close,
-    .flags          = AVFMT_GENERIC_INDEX,
     .extensions     = "sub",
 };
diff --git a/libavformat/webvttdec.c b/libavformat/webvttdec.c
index 7288e8f..26c2a1a 100644
--- a/libavformat/webvttdec.c
+++ b/libavformat/webvttdec.c
@@ -192,6 +192,5 @@ AVInputFormat ff_webvtt_demuxer = {
     .read_packet    = webvtt_read_packet,
     .read_seek2     = webvtt_read_seek,
     .read_close     = webvtt_read_close,
-    .flags          = AVFMT_GENERIC_INDEX,
     .extensions     = "vtt",
 };



More information about the ffmpeg-cvslog mailing list