ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinha...@outlook.com> | Tue Oct 5 21:02:07 2021 +0200| [b6aeee2d8bedcd8cfc6aa91cc124c904a78adb1e] | committer: Andreas Rheinhardt
examples/remuxing: Fix use of uninitialized value Fixes Coverity ticket 1492326. Regression since 53f374c08d5cc97158c17ea34b1c8ee0116c0578. Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@outlook.com> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b6aeee2d8bedcd8cfc6aa91cc124c904a78adb1e --- doc/examples/remuxing.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/examples/remuxing.c b/doc/examples/remuxing.c index 9ffffded91..2657f9dc66 100644 --- a/doc/examples/remuxing.c +++ b/doc/examples/remuxing.c @@ -68,7 +68,7 @@ int main(int argc, char **argv) pkt = av_packet_alloc(); if (!pkt) { fprintf(stderr, "Could not allocate AVPacket\n"); - goto end; + return 1; } if ((ret = avformat_open_input(&ifmt_ctx, in_filename, 0, 0)) < 0) { _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".