[FFmpeg-devel] [PATCH]Show duration written in file header for large asf files

Michael Niedermayer michaelni at gmx.at
Sat Jun 21 19:10:06 CEST 2014

On Sat, Jun 21, 2014 at 06:40:43PM +0200, Carl Eugen Hoyos wrote:
> Hi!
> asf duration set in the file header is currently not shown 
> if the file is very large because as a validity check the absolute 
> difference between actual file size and stream size in the header 
> is used instead of a ratio.
> Attached patch fixes ticket #3428 for me.
> Please comment, Carl Eugen

>  asfdec.c |    3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 0a498c0373e0c5abc36f6bdcf415dfe49efa3740  patchasf.diff
> diff --git a/libavformat/asfdec.c b/libavformat/asfdec.c

should be ok


Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Frequently ignored answer#1 FFmpeg bugs should be sent to our bugtracker. User
questions about the command line tools should be sent to the ffmpeg-user ML.
And questions about how to use libav* should be sent to the libav-user ML.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140621/d2b4e8b3/attachment.asc>

More information about the ffmpeg-devel mailing list