mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-03 05:10:03 +02:00
avformat/utils: Fix use of uninitialized variable
Fixes CID1361961 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
a0f76b825c
commit
7f5c6ea511
@ -3265,7 +3265,7 @@ void ff_rfps_calculate(AVFormatContext *ic)
|
|||||||
|
|
||||||
int avformat_find_stream_info(AVFormatContext *ic, AVDictionary **options)
|
int avformat_find_stream_info(AVFormatContext *ic, AVDictionary **options)
|
||||||
{
|
{
|
||||||
int i, count, ret = 0, j;
|
int i, count = 0, ret = 0, j;
|
||||||
int64_t read_size;
|
int64_t read_size;
|
||||||
AVStream *st;
|
AVStream *st;
|
||||||
AVCodecContext *avctx;
|
AVCodecContext *avctx;
|
||||||
@ -3384,7 +3384,6 @@ FF_ENABLE_DEPRECATION_WARNINGS
|
|||||||
ic->streams[i]->info->fps_last_dts = AV_NOPTS_VALUE;
|
ic->streams[i]->info->fps_last_dts = AV_NOPTS_VALUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
count = 0;
|
|
||||||
read_size = 0;
|
read_size = 0;
|
||||||
for (;;) {
|
for (;;) {
|
||||||
int analyzed_all_streams;
|
int analyzed_all_streams;
|
||||||
|
Loading…
Reference in New Issue
Block a user