[Ffmpeg-cvslog] r7456 - trunk/libavformat/swf.c
Alex Beregszaszi
alex
Mon Mar 5 20:04:46 CET 2007
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
More information about the ffmpeg-cvslog
mailing list