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

Michael Niedermayer michaelni
Tue Jan 30 01:26:15 CET 2007


Hi

On Thu, Jan 25, 2007 at 02:04:41AM -0500, Cyrus A wrote:
> 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?

when someone submits a clean well split patch which passes review

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

I am the wisest man alive, for I know one thing, and that is that I know
nothing. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070130/c741f983/attachment.pgp>



More information about the ffmpeg-devel mailing list