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

Wolfram Gloger wmglo
Wed Jan 24 13:18:20 CET 2007


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.




More information about the ffmpeg-devel mailing list