diff options
author | Reuben Martin <reuben.m@gmail.com> | 2013-06-17 15:22:46 -0500 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-06-27 17:18:59 +0200 |
commit | 7ebf3ab959a02b67c9d73c8e3f74325913564140 (patch) | |
tree | e0aa61d3c7925f79ebdebfeab810d8fb45322adc /libavformat | |
parent | 0de9d3dd1c7340d49c685e5bcdd09dad72d519cc (diff) | |
download | ffmpeg-7ebf3ab959a02b67c9d73c8e3f74325913564140.tar.gz |
gxf: Factorize code in get_sindex()
Reviewed-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/gxf.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libavformat/gxf.c b/libavformat/gxf.c index 5a36854030..f801d246b6 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; |