[FFmpeg-devel] [PATCH] asfenc.c: Fixed ASF Encoder's Assertion Failure Issue

Michael Niedermayer michaelni at gmx.at
Fri Sep 9 03:36:37 CEST 2011


Hi

On Wed, Sep 07, 2011 at 03:15:03PM +0000, Chiranjeevi Melam wrote:
> Hi ,
> Attached is the patch in ASF Encoder. The issue will surface only after running the ffserver for multiple days.
> "Fixed  the assertion failure issue in ASF Encoder  which will surface after running multiple days. Fix is changing the time stamp variable from " int" type to "int64_t " type." The 32 bit roll over causes
> the variable "packet_timestamp_end"  >=  to "packet_timestamp_start" which leads to assertion failure.
> 
> Here is some debug info
> 
> fserver: libavformat/asfenc.c:654: flush_packet: Assertion
> `asf->packet_timestamp_end >= asf->packet_timestamp_start' failed.
> /opt/ripcode/bin/ffserver.sh: line 4: 25195 Aborted                 (core
> dumped) /opt/ripcode/bin/ffserver ${1+"$@"}
> 
> Thanks,
> Chiru
> 

Content-Description: assertion.patch
>  asfenc.c |   10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)
> a245f7ee13a883888852553c91daedbb1b4e4322  assertion.patch

patch applied, will push when it passes tests

thanks

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Dictatorship naturally arises out of democracy, and the most aggravated
form of tyranny and slavery out of the most extreme liberty. -- 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/20110909/00ee0551/attachment.asc>


More information about the ffmpeg-devel mailing list