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

Derek Buitenhuis derek.buitenhuis at gmail.com
Wed Jul 18 19:52:35 CEST 2012

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?

- Derek

More information about the ffmpeg-devel mailing list