[FFmpeg-cvslog] avformat/wavdec: enable seeking with XMA2

Paul B Mahol git at videolan.org
Fri Jan 20 15:00:12 EET 2017


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Thu Jan 19 20:43:02 2017 +0100| [8869f5efecb65ed7aedc67acf1bafd97aa40b9b7] | committer: Paul B Mahol

avformat/wavdec: enable seeking with XMA2

Signed-off-by: Paul B Mahol <onemda at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8869f5efecb65ed7aedc67acf1bafd97aa40b9b7
---

 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:



More information about the ffmpeg-cvslog mailing list