Mercurial > libavcodec.hg
diff h264.c @ 9733:67f917b48068 libavcodec
remove unused hack which set AVCodecContext frame_number to pic timestamp
author | bcoudurier |
---|---|
date | Sat, 30 May 2009 00:24:20 +0000 |
parents | 9c9342d1ce14 |
children | 391014285c25 |
line wrap: on
line diff
--- a/h264.c Sat May 30 00:09:00 2009 +0000 +++ b/h264.c Sat May 30 00:24:20 2009 +0000 @@ -7902,12 +7902,7 @@ assert(pict->data[0] || !*data_size); ff_print_debug_info(s, pict); //printf("out %d\n", (int)pict->data[0]); -#if 0 //? - - /* Return the Picture timestamp as the frame number */ - /* we subtract 1 because it is added on utils.c */ - avctx->frame_number = s->picture_number - 1; -#endif + return get_consumed_bytes(s, buf_index, buf_size); } #if 0