[FFmpeg-devel] [PATCH] zerocodec: factorize loop
Derek Buitenhuis
derek.buitenhuis at gmail.com
Wed Mar 21 03:49:29 CET 2012
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.
- Derek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 898 bytes
Desc: OpenPGP digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120320/2457705d/attachment.asc>
More information about the ffmpeg-devel
mailing list