[FFmpeg-devel] [PATCH] wav: Add check for 'fmt' tag
Paul B Mahol
onemda at gmail.com
Wed Jul 18 19:50:59 CEST 2012
On 7/18/12, Derek Buitenhuis <derek.buitenhuis at gmail.com> wrote:
> On 18/07/2012 12:45 PM, Paul B Mahol wrote:
>> And how that could happen? If data tag is found before fmt tag
>> it is treated as invalid data.
> Indeed you are correct. Apologies.
> However, it still looks like it could fall through if there is no fmt,
> but a SMV0 tag. I could be wrong.
Removing NULL initialization for st and compiling with clang --analyze
did not give any warning. So av_assert0 could be added instead.
More information about the ffmpeg-devel