[FFmpeg-cvslog] lavf/mpeg: Allow users to force audio codec MLP.

Carl Eugen Hoyos git at videolan.org
Thu Aug 20 12:19:45 CEST 2015


ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Thu Aug 20 12:18:03 2015 +0200| [9bd305be91fd5f7c3b77998ce7dc53e825ff3a89] | committer: Carl Eugen Hoyos

lavf/mpeg: Allow users to force audio codec MLP.

Fixes part of ticket #4786.

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

 libavformat/mpeg.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/mpeg.c b/libavformat/mpeg.c
index edb134f..787d5f0 100644
--- a/libavformat/mpeg.c
+++ b/libavformat/mpeg.c
@@ -612,7 +612,7 @@ found:
     if (st->discard >= AVDISCARD_ALL)
         goto skip;
     if (startcode >= 0xa0 && startcode <= 0xaf) {
-      if (lpcm_header_len == 6 && st->codec->codec_id == AV_CODEC_ID_MLP) {
+      if (st->codec->codec_id == AV_CODEC_ID_MLP) {
             if (len < 6)
                 goto skip;
             avio_skip(s->pb, 6);



More information about the ffmpeg-cvslog mailing list