[Ffmpeg-devel] corrupt audio when cut [SOLVED]

Cyrus A lists
Thu Jan 25 08:04:41 CET 2007


Wolfram Gloger wrote:
> Hello,
>
>   
>> This patch worked for me,
>>     
>
> Thanks for reporting back.
>
>   
>> although there was some extra output during 
>> the cutting process that didn't look normal:
>>     
> ..
>   
>> tag: tag=LIST size=0x2276
>> list: tag=hdrl size=0x0
>>     
>
> Yes, I always enable avi debugging output so that one could further
> analyze the problem in case the patch wasn't sufficient.  If this
> bothers you, just revert the following hunk:
>
> diff -ur trunk/libavformat/avidec.c ffmpeg/libavformat/avidec.c
> --- trunk/libavformat/avidec.c	Tue Jan 16 09:34:41 2007
> +++ ffmpeg/libavformat/avidec.c	Tue Jan 16 10:34:16 2007
> @@ -26,8 +26,8 @@
>  #undef NDEBUG
>  #include <assert.h>
>  
> -//#define DEBUG
> -//#define DEBUG_SEEK
> +#define DEBUG
> +#define DEBUG_SEEK
>  
>  typedef struct AVIStream {
>      int64_t frame_offset; /* current frame (video) or byte (audio) counter
>
> Regards,
> Wolfram.
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at mplayerhq.hu
> http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-devel
>   

Thanks for the help, wolfram. I really appreciate it.

I'm not much of a development junkie and not sure how all this works... 
when can we expect this change to make it into the main program?

Cyrus




More information about the ffmpeg-devel mailing list