[FFmpeg-cvslog] avformat/mpeg: add missing check
Paul B Mahol
git at videolan.org
Sun Apr 1 22:09:34 EEST 2018
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Sun Apr 1 21:08:16 2018 +0200| [0995641202741e56874d468fbdacf2f8728535a2] | committer: Paul B Mahol
avformat/mpeg: add missing check
Signed-off-by: Paul B Mahol <onemda at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0995641202741e56874d468fbdacf2f8728535a2
---
libavformat/mpeg.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavformat/mpeg.c b/libavformat/mpeg.c
index 0c507e9f01..8ae4740920 100644
--- a/libavformat/mpeg.c
+++ b/libavformat/mpeg.c
@@ -456,6 +456,8 @@ redo:
startcode = 0x80;
m->raw_ac3 = 1;
avio_skip(s->pb, -2);
+ } else {
+ avio_skip(s->pb, -1);
}
} else {
len--;
More information about the ffmpeg-cvslog
mailing list