Fix uninitialized value in codepath.
See http://tranquillity.ath.cx/clang/2010-03-30-1/report-40QvF3.html#EndPath Originally committed as revision 22782 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
ddf8e75ede
commit
190413cf81
@ -849,6 +849,7 @@ static int rm_read_packet(AVFormatContext *s, AVPacket *pkt)
|
|||||||
// If there are queued audio packet return them first
|
// If there are queued audio packet return them first
|
||||||
st = s->streams[rm->audio_stream_num];
|
st = s->streams[rm->audio_stream_num];
|
||||||
ff_rm_retrieve_cache(s, s->pb, st, st->priv_data, pkt);
|
ff_rm_retrieve_cache(s, s->pb, st, st->priv_data, pkt);
|
||||||
|
flags = 0;
|
||||||
} else {
|
} else {
|
||||||
if (rm->old_format) {
|
if (rm->old_format) {
|
||||||
RMStream *ast;
|
RMStream *ast;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user