mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-28 05:30:34 +00:00
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
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user