Opened 12 years ago
Closed 12 years ago
#1967 closed defect (fixed)
Wrong error trace in h264
Reported by: | Sergio Garcia | Owned by: | |
---|---|---|---|
Priority: | minor | Component: | avcodec |
Version: | git-master | Keywords: | h264 |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
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
Change History (2)
comment:1 by , 12 years ago
Keywords: | h264 added |
---|
comment:2 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Thank you for fixing this problem!
Note:
See TracTickets
for help on using tickets.
Please send patches to ffmpeg-devel, they usually receive more attention there.