5 Mar
2007
5 Mar
'07
7:04 p.m.
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? What about incrementing ch_id with one for the video stream case, thus you doesnt need to use id -1 for audio. -- Alex Beregszaszi