[FFmpeg-devel] [PATCH] nutdec: Remove unused label

Timothy Gu timothygu99 at gmail.com
Thu May 14 01:23:09 CEST 2015


Added in 361702660d2c37a63b7d6381d39e1e1de8405260. Modified version that
doesn't use this label merged in 55231323b0fdc84a529418d673148cf1f3157229,
thus obsoleting this label.
---
 libavformat/nutdec.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/libavformat/nutdec.c b/libavformat/nutdec.c
index 9c017e0..88a2d32 100644
--- a/libavformat/nutdec.c
+++ b/libavformat/nutdec.c
@@ -822,10 +822,8 @@ static int nut_read_header(AVFormatContext *s)
 
     ff_metadata_conv_ctx(s, NULL, ff_nut_metadata_conv);
 
-end:
-    if (ret < 0)
-        nut_read_close(s);
-    return FFMIN(ret, 0);
+    return 0;
+
 fail:
     nut_read_close(s);
 
-- 
1.9.1



More information about the ffmpeg-devel mailing list