[FFmpeg-cvslog] gxf: Factorize code in get_sindex()

Reuben Martin git at videolan.org
Thu Jun 27 17:28:51 CEST 2013


ffmpeg | branch: master | Reuben Martin <reuben.m at gmail.com> | Mon Jun 17 15:22:46 2013 -0500| [7ebf3ab959a02b67c9d73c8e3f74325913564140] | committer: Michael Niedermayer

gxf: Factorize code in get_sindex()

Reviewed-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

 libavformat/gxf.c |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/libavformat/gxf.c b/libavformat/gxf.c
index 5a36854..f801d24 100644
--- a/libavformat/gxf.c
+++ b/libavformat/gxf.c
@@ -116,11 +116,8 @@ static int get_sindex(AVFormatContext *s, int id, int format) {
             st->codec->codec_id = AV_CODEC_ID_MJPEG;
             break;
         case 13:
-        case 15:
-            st->codec->codec_type = AVMEDIA_TYPE_VIDEO;
-            st->codec->codec_id = AV_CODEC_ID_DVVIDEO;
-            break;
         case 14:
+        case 15:
         case 16:
         case 25:
             st->codec->codec_type = AVMEDIA_TYPE_VIDEO;



More information about the ffmpeg-cvslog mailing list