diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-07-02 15:00:28 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-07-02 15:07:44 +0200 |
commit | ccba9535dc3500854f738ea082286f780a22a56f (patch) | |
tree | 28e76db2894ce456eafefd93c448f920dd6d58ef /libavformat | |
parent | 2492f7774f6c763b23c65d30a2eeb558ea23f4a2 (diff) | |
download | ffmpeg-ccba9535dc3500854f738ea082286f780a22a56f.tar.gz |
av_find_stream_info: initialize ret
This should fix hypothetical corner cases where it might have never been initialized before use
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index 1f59b31b1e..af2f96710d 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -2621,7 +2621,7 @@ int av_find_stream_info(AVFormatContext *ic) int avformat_find_stream_info(AVFormatContext *ic, AVDictionary **options) { - int i, count, ret, j; + int i, count, ret = 0, j; int64_t read_size; AVStream *st; AVPacket pkt1, *pkt; |