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:
Ronald S. Bultje 2010-04-02 14:58:03 +00:00
parent ddf8e75ede
commit 190413cf81
1 changed files with 1 additions and 0 deletions

View File

@ -849,6 +849,7 @@ static int rm_read_packet(AVFormatContext *s, AVPacket *pkt)
// If there are queued audio packet return them first
st = s->streams[rm->audio_stream_num];
ff_rm_retrieve_cache(s, s->pb, st, st->priv_data, pkt);
flags = 0;
} else {
if (rm->old_format) {
RMStream *ast;