From: Zhao Zhili <[email protected]>
---
libavformat/flvdec.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c
index b90ed34b1c..5dbe82ca0e 100644
--- a/libavformat/flvdec.c
+++ b/libavformat/flvdec.c
@@ -1361,8 +1361,8 @@ static int flv_read_packet(AVFormatContext *s, AVPacket
*pkt)
int stream_type = -1;
int64_t next, pos, meta_pos;
int64_t dts, pts = AV_NOPTS_VALUE;
- int av_uninit(channels);
- int av_uninit(sample_rate);
+ int channels = 0;
+ int sample_rate = 0;
AVStream *st = NULL;
int last = -1;
int orig_size;
--
2.46.0
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".