Mercurial > libavcodec.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
9732:c25359a56edf | 9733:67f917b48068 |
---|---|
7900 } | 7900 } |
7901 | 7901 |
7902 assert(pict->data[0] || !*data_size); | 7902 assert(pict->data[0] || !*data_size); |
7903 ff_print_debug_info(s, pict); | 7903 ff_print_debug_info(s, pict); |
7904 //printf("out %d\n", (int)pict->data[0]); | 7904 //printf("out %d\n", (int)pict->data[0]); |
7905 #if 0 //? | 7905 |
7906 | |
7907 /* Return the Picture timestamp as the frame number */ | |
7908 /* we subtract 1 because it is added on utils.c */ | |
7909 avctx->frame_number = s->picture_number - 1; | |
7910 #endif | |
7911 return get_consumed_bytes(s, buf_index, buf_size); | 7906 return get_consumed_bytes(s, buf_index, buf_size); |
7912 } | 7907 } |
7913 #if 0 | 7908 #if 0 |
7914 static inline void fill_mb_avail(H264Context *h){ | 7909 static inline void fill_mb_avail(H264Context *h){ |
7915 MpegEncContext * const s = &h->s; | 7910 MpegEncContext * const s = &h->s; |