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

Ronald S. Bultje rsbultje
Sun May 9 22:11:15 CEST 2010


On Sun, May 9, 2010 at 9:58 AM, Sebastian Vater
<cdgs.basty at googlemail.com> wrote:
> 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].

I think this indeed makes the code simpler, so applied.


More information about the ffmpeg-devel mailing list