[FFmpeg-devel] [PATCH] lavf remove duplicated check in has_duration

Nicolas George nicolas.george at normalesup.org
Sat Apr 28 15:20:00 CEST 2012

Le decadi 10 floréal, an CCXX, Jean First a écrit :
> Yes sure. See : http://git.videolan.org/?p=ffmpeg.git;a=blob;f=libavformat/utils.c;h=e33d9a49ff6cdc2b6b26d3b1084bd2f9284bfa99;hb=HEAD#l1980

Right, sorry to have doubted you for no reason.

It would probably be better to remove the first check instead of the second:
it is slightly less efficient (but this is not a speed-critical section at
all) but it would reduce the differences with libav.


  Nicolas George
-------------- 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/20120428/c9eb1d4f/attachment.asc>

More information about the ffmpeg-devel mailing list