mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-12 04:44:25 +00:00
returning the number of consumed bytes (2nd try)
Originally committed as revision 738 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
08dce7b02f
commit
9d07682305
@ -447,7 +447,10 @@ uint64_t time= rdtsc();
|
|||||||
#ifdef PRINT_FRAME_TIME
|
#ifdef PRINT_FRAME_TIME
|
||||||
printf("%Ld\n", rdtsc()-time);
|
printf("%Ld\n", rdtsc()-time);
|
||||||
#endif
|
#endif
|
||||||
return (get_bits_count(&s->gb)+7)>>3;
|
if(s->gb.size != buf_size)
|
||||||
|
return buf_size; //divx5 b frame reorder
|
||||||
|
else
|
||||||
|
return ((get_bits_count(&s->gb)+7)>>3) + s->bitstream_buffer_size;
|
||||||
}
|
}
|
||||||
|
|
||||||
AVCodec mpeg4_decoder = {
|
AVCodec mpeg4_decoder = {
|
||||||
|
Loading…
Reference in New Issue
Block a user