[FFmpeg-trac] #1967(avcodec:new): Wrong error trace in h264
FFmpeg
trac at avcodec.org
Mon Nov 26 16:47:50 CET 2012
#1967: Wrong error trace in h264
---------------------------------+--------------------------------------
Reporter: sgarcia | Type: defect
Status: new | Priority: minor
Component: avcodec | Version: git-master
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
---------------------------------+--------------------------------------
in h264.c:2049
slice_type = get_ue_golomb_31(&s->gb);
if (slice_type > 9) {
av_log(h->s.avctx, AV_LOG_ERROR,
"slice type too large (%d) at %d %d\n",
h->slice_type, s->mb_x, s->mb_y);
return -1;
}
Should be
slice_type = get_ue_golomb_31(&s->gb);
if (slice_type > 9) {
av_log(h->s.avctx, AV_LOG_ERROR,
"slice type too large (%d) at %d %d\n",
slice_type, s->mb_x, s->mb_y);
return -1;
}
That's is change h->slice_type by slice_type in the error message
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1967>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list