summaryrefslogtreecommitdiff
path: root/libavcodec/vp3.c
diff options
context:
space:
mode:
authorDavid Conrad <lessen42@gmail.com>2010-03-13 05:59:18 +0000
committerDavid Conrad <lessen42@gmail.com>2010-03-13 05:59:18 +0000
commit1a8560423e6a930154ec6e5a0b3e853c8c1e0631 (patch)
tree8bf0f83c0906c0369195d0c1af2e8e82988e214f /libavcodec/vp3.c
parent577838842d9a1ea5911ce8235bcb9b8f811a6beb (diff)
vp3: remove unneeded error, this is internal and doesn't happen
Originally committed as revision 22499 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/vp3.c')
-rw-r--r--libavcodec/vp3.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/libavcodec/vp3.c b/libavcodec/vp3.c
index 284be45c9f..2ad8d137a4 100644
--- a/libavcodec/vp3.c
+++ b/libavcodec/vp3.c
@@ -464,11 +464,6 @@ static int unpack_superblocks(Vp3DecodeContext *s, GetBitContext *gb)
/* if the fragment is in bounds, check its coding status */
current_fragment = s->superblock_fragments[i * 16 + j];
- if (current_fragment >= s->fragment_count) {
- av_log(s->avctx, AV_LOG_ERROR, " vp3:unpack_superblocks(): bad fragment number (%d >= %d)\n",
- current_fragment, s->fragment_count);
- return 1;
- }
if (current_fragment != -1) {
int coded = s->superblock_coding[i];