[FFmpeg-soc] [soc]: r3344 - aacenc/aacenc.c
Michael Niedermayer
michaelni at gmx.at
Sat Aug 16 13:52:48 CEST 2008
On Sat, Aug 16, 2008 at 09:16:02AM +0200, kostya wrote:
> Author: kostya
> Date: Sat Aug 16 09:16:02 2008
> New Revision: 3344
>
> Log:
> Brand AAC stream again and again so users will know what encoder to blame
>
> Modified:
> aacenc/aacenc.c
>
> Modified: aacenc/aacenc.c
> ==============================================================================
> --- aacenc/aacenc.c (original)
> +++ aacenc/aacenc.c Sat Aug 16 09:16:02 2008
> @@ -795,7 +795,7 @@ static int aac_encode_frame(AVCodecConte
> }
>
> init_put_bits(&s->pb, frame, buf_size*8);
> - if(avctx->frame_number==1 && !(avctx->flags & CODEC_FLAG_BITEXACT)){
> + if((avctx->frame_number & 0xFF)==1 && !(avctx->flags & CODEC_FLAG_BITEXACT)){
> put_bitstream_info(avctx, s, LIBAVCODEC_IDENT);
> }
use gop_size if possible (that is if it works)
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Old school: Use the lowest level language in which you can solve the problem
conveniently.
New school: Use the highest level language in which the latest supercomputer
can solve the problem without the user falling asleep waiting.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-soc/attachments/20080816/650c3b15/attachment.pgp>
More information about the FFmpeg-soc
mailing list