summaryrefslogtreecommitdiff
path: root/libavformat/nutdec.c
diff options
context:
space:
mode:
authorTimothy Gu <timothygu99@gmail.com>2015-05-13 16:23:09 -0700
committerMichael Niedermayer <michaelni@gmx.at>2015-05-14 02:08:12 +0200
commiteaeb63219872984a7cc2b6fab45584bc0abb51d5 (patch)
tree2b34ce2f3770c4d493f5e969c74c8cfc38d3a3a7 /libavformat/nutdec.c
parent50d878d9303dc50861747f79b13f41d40bcf5f63 (diff)
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 <michaelni@gmx.at>
Diffstat (limited to 'libavformat/nutdec.c')
-rw-r--r--libavformat/nutdec.c6
1 files 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);