[FFmpeg-devel] [PATCH] wav: Add check for 'fmt' tag

Paul B Mahol onemda at gmail.com
Wed Jul 18 19:55:47 CEST 2012

On 7/18/12, Derek Buitenhuis <derek.buitenhuis at gmail.com> wrote:
> On 18/07/2012 1:50 PM, Paul B Mahol wrote:
>> Removing NULL initialization for st and compiling with clang --analyze
>> did not give any warning. So av_assert0 could be added instead.
> clang's analysis is not always perfect.
> Is there any reason we prefer an assert over a proper error?

av_assert is for cases when new (broken) code is added...

More information about the ffmpeg-devel mailing list