Fixes Coverity ticket 1492326.
Regression since 53f374c08d5cc97158c17ea34b1c8ee0116c0578.

Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@outlook.com>
---
Sorry for this.

 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) {
-- 
2.30.2

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to