aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-10-05 21:02:07 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-10-07 11:59:31 +0200
commitb6aeee2d8bedcd8cfc6aa91cc124c904a78adb1e (patch)
tree0e66851c6b33398a13b48c291ad6a768ea92b95b
parent5e1b5b52fe7fdfa6d9e1a78ac0576cf5931a82bb (diff)
downloadffmpeg-b6aeee2d8bedcd8cfc6aa91cc124c904a78adb1e.tar.gz
examples/remuxing: Fix use of uninitialized value
Fixes Coverity ticket 1492326. Regression since 53f374c08d5cc97158c17ea34b1c8ee0116c0578. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r--doc/examples/remuxing.c2
1 files changed, 1 insertions, 1 deletions
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) {