adx: add AVFMT_GENERIC_INDEX to demuxer flags.
authorJustin Ruggles <justin.ruggles@gmail.com>
Mon, 19 Dec 2011 15:12:29 +0000 (10:12 -0500)
committerJustin Ruggles <justin.ruggles@gmail.com>
Tue, 3 Jan 2012 23:47:41 +0000 (18:47 -0500)
fixes seeking

libavformat/adxdec.c

index dca9748..ab11d83 100644 (file)
@@ -109,4 +109,5 @@ AVInputFormat ff_adx_demuxer = {
     .read_packet    = adx_read_packet,
     .extensions     = "adx",
     .value          = CODEC_ID_ADPCM_ADX,
+    .flags          = AVFMT_GENERIC_INDEX,
 };