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

Paul B Mahol onemda at gmail.com
Thu Jan 19 22:05:06 EET 2017


Signed-off-by: Paul B Mahol <onemda at gmail.com>
---
 libavformat/wavdec.c | 1 +
 1 file changed, 1 insertion(+)

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:
-- 
2.9.3



More information about the ffmpeg-devel mailing list