aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/shorten.c
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2011-07-03 02:37:03 +0100
committerMans Rullgard <mans@mansr.com>2011-07-03 03:15:53 +0100
commitb27565b1432f8bb2c933afa184ace6582ad650ee (patch)
treed19025a322659176b11102caf537e81cec1398b7 /libavcodec/shorten.c
parent050f2b3e7f3a98bc824cfcaf4c825ed4c643e21c (diff)
downloadffmpeg-b27565b1432f8bb2c933afa184ace6582ad650ee.tar.gz
Remove statements immediately following unconditional jumps
This removes a number of compiler warnings. Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec/shorten.c')
-rw-r--r--libavcodec/shorten.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libavcodec/shorten.c b/libavcodec/shorten.c
index a6e00750e9..e4dfa7c59f 100644
--- a/libavcodec/shorten.c
+++ b/libavcodec/shorten.c
@@ -471,7 +471,6 @@ static int shorten_decode_frame(AVCodecContext *avctx,
s->cur_chan = 0;
goto frame_done;
}
- break;
}
break;
case FN_VERBATIM:
@@ -489,11 +488,9 @@ static int shorten_decode_frame(AVCodecContext *avctx,
case FN_QUIT:
*data_size = 0;
return buf_size;
- break;
default:
av_log(avctx, AV_LOG_ERROR, "unknown shorten function %d\n", cmd);
return -1;
- break;
}
}
frame_done: