[FFmpeg-devel] [PATCH] Make usage of local st instead of s->streams[0]
Jai Menon
jmenon86
Sun May 9 16:22:55 CEST 2010
On Sun, May 9, 2010 at 7:28 PM, Sebastian Vater
<cdgs.basty at googlemail.com> wrote:
> 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].
why not just remove the unused variable?
--
Jai Menon
More information about the ffmpeg-devel
mailing list