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

Paul B Mahol onemda at gmail.com
Wed Jul 18 18:45:39 CEST 2012

On 7/18/12, Derek Buitenhuis <derek.buitenhuis at gmail.com> wrote:
> If there is a 'data' tag, but no 'fmt' tag, it is possible that
> 'st' got used as NULL.

And how that could happen? If data tag is found before fmt tag
it is treated as invalid data.

> Signed-off-by: Derek Buitenhuis <derek.buitenhuis at gmail.com>
> ---
>  libavformat/wav.c |    5 +++++
>  1 file changed, 5 insertions(+)

More information about the ffmpeg-devel mailing list