[FFmpeg-devel] [PATCH] avformat/mp3enc: Assert that the header we assembled is valid
Michael Niedermayer
michael at niedermayer.cc
Fri Feb 5 15:19:40 CET 2016
On Fri, Feb 05, 2016 at 02:05:57PM +0000, Derek Buitenhuis wrote:
> On 2/3/2016 11:20 PM, Michael Niedermayer wrote:
> > + ret = avpriv_mpegaudio_decode_header(&mpah, header);
> > + av_assert0(ret >= 0);
>
> Why is this an assert and not an normal check?
because the code builds the header a few lines above, i assume
the header we just build is correct
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
If you think the mosad wants you dead since a long time then you are either
wrong or dead since a long time.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160205/455d17d3/attachment.sig>
More information about the ffmpeg-devel
mailing list