[FFmpeg-devel] [PATCH 5/5] ADTS to AudioSpecificConfig bitstream filter

Alex Converse alex.converse
Fri May 29 22:12:08 CEST 2009


On Wed, May 27, 2009 at 4:30 AM, Benoit Fouet <benoit.fouet at free.fr> wrote:
> On 2009-05-26 22:38, Alex Converse wrote:
[...]
>
>> +static int aac_adtstoasc_filter(AVBitStreamFilterContext *bsfc,
>> + ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?AVCodecContext *avctx, const char *args,
>> + ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?uint8_t ?**poutbuf, int *poutbuf_size,
>> + ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?const uint8_t *buf, int ? ? ?buf_size,
>> + ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?int keyframe)
>> +{
>>
>> [...]
>>
>> + ? ?if (avctx->extradata)
>> + ? ? ? ?if (!show_bits(&gb, 12) == 0xfff)
>> + ? ? ? ? ? ?return 0;
>>
>

good catch

[...]

--Alex
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-ADTS-to-AudioSpecificConfig-bitstream-filter.patch
Type: text/x-patch
Size: 5253 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090529/78514bfe/attachment.bin>



More information about the ffmpeg-devel mailing list