From eaeb63219872984a7cc2b6fab45584bc0abb51d5 Mon Sep 17 00:00:00 2001 From: Timothy Gu Date: Wed, 13 May 2015 16:23:09 -0700 Subject: [PATCH] nutdec: Remove unused label Added in 361702660d2c37a63b7d6381d39e1e1de8405260. Modified version that doesn't use this label merged in 55231323b0fdc84a529418d673148cf1f3157229, thus obsoleting this label. Signed-off-by: Michael Niedermayer --- libavformat/nutdec.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/libavformat/nutdec.c b/libavformat/nutdec.c index 9c017e04ab..88a2d32a45 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);