aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/asfdec.c
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2011-07-03 21:02:18 +0100
committerMans Rullgard <mans@mansr.com>2011-07-03 21:39:07 +0100
commitadd41decd94b2d3581a3715ba10f27168b8cdb1b (patch)
tree75b99269199b63d99c9cfa92e876cf4682bf44b5 /libavformat/asfdec.c
parentf75e3da535f297ddbe501ce866e57ccca7645455 (diff)
downloadffmpeg-add41decd94b2d3581a3715ba10f27168b8cdb1b.tar.gz
Remove return statements following infinite loops without break
These statements cannot be reached and are thus not needed. This removes a number of compiler warnings. Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavformat/asfdec.c')
-rw-r--r--libavformat/asfdec.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavformat/asfdec.c b/libavformat/asfdec.c
index 4fafb26259..38fe4f9fa2 100644
--- a/libavformat/asfdec.c
+++ b/libavformat/asfdec.c
@@ -1099,8 +1099,6 @@ static int asf_read_packet(AVFormatContext *s, AVPacket *pkt)
assert(asf->packet_size_left < FRAME_HEADER_SIZE || asf->packet_segments < 1);
asf->packet_time_start = 0;
}
-
- return 0;
}
// Added to support seeking after packets have been read