[Ffmpeg-cvslog] r7456 - trunk/libavformat/swf.c

Baptiste Coudurier baptiste.coudurier
Mon Mar 5 21:17:20 CET 2007


Hi

Alex Beregszaszi wrote:
> Hi,
> 
>> @@ -808,8 +808,9 @@
>>              get_byte(pb);
>>              v = get_byte(pb);
>>              swf->samples_per_frame = get_le16(pb);
>> -            ast = av_new_stream(s, 1);
>> +            ast = av_new_stream(s, -1); /* -1 to avoid clash with video stream ch_id */
> 
> This sound like a hack, doesnt? Does the avformat supports this?

Kinda, it seems to support it.

> What about incrementing ch_id with one for the video stream case, thus
> you doesnt need to use id -1 for audio.

why not.

-- 
Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
SMARTJOG S.A.                                    http://www.smartjog.com
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
Phone: +33 1 49966312




More information about the ffmpeg-cvslog mailing list