Bink video codec id is there, demuxer can use it
authorKostya Shishkov <kostya.shishkov@gmail.com>
Sun, 31 Jan 2010 16:21:49 +0000 (16:21 +0000)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Sun, 31 Jan 2010 16:21:49 +0000 (16:21 +0000)
Originally committed as revision 21574 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/bink.c

index c21db19..7d69387 100644 (file)
@@ -115,7 +115,7 @@ static int read_header(AVFormatContext *s, AVFormatParameters *ap)
     url_fskip(pb, 4);
 
     vst->codec->codec_type = CODEC_TYPE_VIDEO;
-    vst->codec->codec_id   = 0; /* FIXME: CODEC_ID_BINKVIDEO */
+    vst->codec->codec_id   = CODEC_ID_BINKVIDEO;
     bink->num_audio_tracks = get_le32(pb);
 
     if (bink->num_audio_tracks > BINK_MAX_AUDIO_TRACKS) {