avcodec/h261dec: Remove nonsense information from error message
The "invalid mtype index" here is always -1, because that is the value the VLC api uses for not existent leafs in an incomplete tree. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@@ -415,8 +415,7 @@ static int h261_decode_mb(H261DecContext *h)
|
|||||||
// Read mtype
|
// Read mtype
|
||||||
com->mtype = get_vlc2(&s->gb, h261_mtype_vlc, H261_MTYPE_VLC_BITS, 2);
|
com->mtype = get_vlc2(&s->gb, h261_mtype_vlc, H261_MTYPE_VLC_BITS, 2);
|
||||||
if (com->mtype < 0) {
|
if (com->mtype < 0) {
|
||||||
av_log(s->avctx, AV_LOG_ERROR, "Invalid mtype index %d\n",
|
av_log(s->avctx, AV_LOG_ERROR, "Invalid mtype index\n");
|
||||||
com->mtype);
|
|
||||||
return SLICE_ERROR;
|
return SLICE_ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user