Browse Source

h264: fix slice_type value reported in decode_slice_header()

Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
tags/n2.2-rc1
Luca Barbato Vittorio Giovara 12 years ago
parent
commit
96f9fbe109
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/h264.c

+ 1
- 1
libavcodec/h264.c View File

@@ -3368,7 +3368,7 @@ static int decode_slice_header(H264Context *h, H264Context *h0)
if (slice_type > 9) {
av_log(h->avctx, AV_LOG_ERROR,
"slice type %d too large at %d %d\n",
h->slice_type, h->mb_x, h->mb_y);
slice_type, h->mb_x, h->mb_y);
return AVERROR_INVALIDDATA;
}
if (slice_type > 4) {


Loading…
Cancel
Save