[FFmpeg-devel] [PATCH] zerocodec: factorize loop

Michael Niedermayer michaelni at gmx.at
Wed Mar 21 04:15:45 CET 2012


On Tue, Mar 20, 2012 at 10:49:29PM -0400, Derek Buitenhuis wrote:
> On 20/03/2012 10:31 PM, Michael Niedermayer wrote:
> > Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> > ---
> >  libavcodec/zerocodec.c |   41 ++++++++++++++---------------------------
> >  1 files changed, 14 insertions(+), 27 deletions(-)
> 
> The reason I had split it up was to avoid having the AV_PKT_FLAG_KEY
> check inside the loop. 
> 
> OK, if it doesn't affect performance a ton.

i cannot meassure any speed difference (with the fate sample)

applied

Thanks

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Good people do not need laws to tell them to act responsibly, while bad
people will find a way around the laws. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120321/bc0b5e73/attachment.asc>


More information about the ffmpeg-devel mailing list