From 6a29499b95bb1e7ab11bc9dfcac22da5825bbc0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20B=C5=93sch?= Date: Thu, 1 Jan 2015 22:09:21 +0100 Subject: avformat/flvdec: remove duplicated line error Fix typo regression since 5c37ffca59e7eb1b8768f237deb35a9936c1a0a5 Found-By: cousin_luigi --- libavformat/flvdec.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c index c13c0e48a1..572268f2ad 100644 --- a/libavformat/flvdec.c +++ b/libavformat/flvdec.c @@ -441,7 +441,6 @@ static int amf_parse_object(AVFormatContext *s, AVStream *astream, if (amf_parse_object(s, astream, vstream, str_val, max_pos, depth + 1) < 0) return -1; - if (avio_r8(ioc) != AMF_END_OF_OBJECT) if (avio_r8(ioc) != AMF_END_OF_OBJECT) { av_log(s, AV_LOG_ERROR, "Missing AMF_END_OF_OBJECT in AMF_DATA_TYPE_MIXEDARRAY\n"); return -1; -- cgit v1.2.3