[FFmpeg-devel] [PATCH] Revert "Merge commit '3ef98937f512184f80d3bd30015f5ec83dc11eb0'"

James Almer jamrial at gmail.com
Wed Feb 24 21:01:22 CET 2016


On 2/24/2016 4:53 PM, Michael Niedermayer wrote:
> This broke packed_maindata.mp3.mp4
> Its unknown to me what this commit would have fixed

Should have been a no-op i guess, seeing how right below there's code
setting AVSTREAM_PARSE_FULL if some conditions are met.

> 
> This reverts commit 79127dbbeffa87243c92af2befc09ad63bcbd1a1, reversing
> changes made to 9fad1ce7c95adeec440f51af77f730340a6d27b8.
> ---
>  libavformat/mov.c |    3 ---
>  1 file changed, 3 deletions(-)
> 
> diff --git a/libavformat/mov.c b/libavformat/mov.c
> index e26cc10..b1a2ea7 100644
> --- a/libavformat/mov.c
> +++ b/libavformat/mov.c
> @@ -3100,9 +3100,6 @@ static int mov_read_trak(MOVContext *c, AVIOContext *pb, MOVAtom atom)
>          st->codec->width = 0; /* let decoder init width/height */
>          st->codec->height= 0;
>          break;
> -    case AV_CODEC_ID_MP3:
> -        st->need_parsing = AVSTREAM_PARSE_FULL;
> -        break;
>      }
>  
>      // If the duration of the mp3 packets is not constant, then they could need a parser
> 



More information about the ffmpeg-devel mailing list