summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavcodec/nuv.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/nuv.c b/libavcodec/nuv.c
index 10dce6a549..bfbf79335b 100644
--- a/libavcodec/nuv.c
+++ b/libavcodec/nuv.c
@@ -215,7 +215,6 @@ retry:
}
if (c->codec_frameheader) {
int w, h, q;
- int res;
if (buf_size < RTJPEG_HEADER_SIZE) {
av_log(avctx, AV_LOG_ERROR, "Too small NUV video frame\n");
return AVERROR_INVALIDDATA;