mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
vformat/tee: fix uninitialized use of ret
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
4cf1900ba7
commit
c4c3a3d580
@ -387,7 +387,7 @@ static int filter_packet(void *log_ctx, AVPacket *pkt,
|
||||
AVFormatContext *fmt_ctx, AVBitStreamFilterContext *bsf_ctx)
|
||||
{
|
||||
AVCodecContext *enc_ctx = fmt_ctx->streams[pkt->stream_index]->codec;
|
||||
int ret;
|
||||
int ret = 0;
|
||||
|
||||
while (bsf_ctx) {
|
||||
AVPacket new_pkt = *pkt;
|
||||
|
Loading…
x
Reference in New Issue
Block a user