diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2009-05-30 04:24:20 +0400 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2009-05-30 04:24:20 +0400 |
commit | 87e302bfd8ffbc6cdb20920029013956b10ace63 (patch) | |
tree | dd213422862ceaaf30793f25ca97025b89d037aa /libavcodec/h264.c | |
parent | 2d05bc86418681905f85ff7c621457756397a2ae (diff) |
remove unused hack which set AVCodecContext frame_number to pic timestamp
Originally committed as revision 18988 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r-- | libavcodec/h264.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c index f4c172b606..056e1cce77 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -7902,12 +7902,7 @@ static int decode_frame(AVCodecContext *avctx, 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 |