[FFmpeg-devel] [PATCH] Make usage of local st instead of s->streams[0]

Sebastian Vater cdgs.basty
Sun May 9 15:58:05 CEST 2010

Hello guys!

In libavformat/iff.c, iff_read_packet declares:
    AVStream *st = s->streams[0];

But the code afterwards still uses s->streams[0] instead of st.

Therefore, I created a small patch which accesses the local st instead
of always doing s->streams[0].


Best regards,
                   :-) Basty/CDGS (-:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: iff-st-usage.patch
Type: text/x-patch
Size: 2039 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100509/b27709f3/attachment.bin>

More information about the ffmpeg-devel mailing list