]> git.sesse.net Git - ffmpeg/commitdiff
nutdec: Remove unused label
authorTimothy Gu <timothygu99@gmail.com>
Wed, 13 May 2015 23:23:09 +0000 (16:23 -0700)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 14 May 2015 00:08:12 +0000 (02:08 +0200)
Added in 361702660d2c37a63b7d6381d39e1e1de8405260. Modified version that
doesn't use this label merged in 55231323b0fdc84a529418d673148cf1f3157229,
thus obsoleting this label.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/nutdec.c

index 9c017e04abd856ab49097c1adc08072a46e23ec8..88a2d32a45b66d518bf65c79f8751c72a4f929b2 100644 (file)
@@ -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);