[Ffmpeg-devel] corrupt audio when cut [SOLVED]
Cyrus A
lists
Tue Jan 30 02:52:58 CET 2007
Michael Niedermayer wrote:
> 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
>
> [...]
>
I'm obviously too much of a novice to know what you did to create the
patch, Wolfram. Do you think you could clean it up and submit it for
review? It would be a shame to have the time you spent fixing my bug go
to waste.
Cyrus
More information about the ffmpeg-devel
mailing list