Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-10-05 22:02:07 +0300
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-10-07 12:59:31 +0300
commitb6aeee2d8bedcd8cfc6aa91cc124c904a78adb1e (patch)
tree0e66851c6b33398a13b48c291ad6a768ea92b95b /doc/examples
parent5e1b5b52fe7fdfa6d9e1a78ac0576cf5931a82bb (diff)
examples/remuxing: Fix use of uninitialized value
Fixes Coverity ticket 1492326. Regression since 53f374c08d5cc97158c17ea34b1c8ee0116c0578. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'doc/examples')
-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) {