diff mbox

[FFmpeg-devel,3/3] avformat/wavdec: enable seeking with XMA2

Message ID 20170119200506.7936-3-onemda@gmail.com
State Accepted
Commit 8869f5efecb65ed7aedc67acf1bafd97aa40b9b7
Headers show

Commit Message

Paul B Mahol Jan. 19, 2017, 8:05 p.m. UTC
Signed-off-by: Paul B Mahol <onemda@gmail.com>
---
 libavformat/wavdec.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

diff --git a/libavformat/wavdec.c b/libavformat/wavdec.c
index 4046809..0ca1ef4 100644
--- a/libavformat/wavdec.c
+++ b/libavformat/wavdec.c
@@ -719,6 +719,7 @@  static int wav_read_seek(AVFormatContext *s,
     case AV_CODEC_ID_MP3:
     case AV_CODEC_ID_AC3:
     case AV_CODEC_ID_DTS:
+    case AV_CODEC_ID_XMA2:
         /* use generic seeking with dynamically generated indexes */
         return -1;
     default: