• Michael Niedermayer's avatar
    Revert "flvenc: Remove apparently unneeded AAC check." · b0a0e83a
    Michael Niedermayer authored
    According to video_file_format_spec_v10_1.pdf flv stores AAC RAW
    thanks to Baptiste Coudurier for pointing that out
    
    thanks to Aℓex Converse for explaining:
    	This can't be at the start of a non-ADTS payload. 111 is the
    	EndOfFrame syntax element.
    
    Together these proof that the check was correctly rejecting ADTS which
    is not supposed to be in flv. Many players are able to play such ADTS
    in flv though but its better if we conform to the spec as this should
    ensure that not many but all players can play files generated by ffmpeg.
    
    This reverts commit 3c9a86df.
    b0a0e83a
flvenc.c 17.6 KB