mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
return buf_size again, i hope kabi is finally happy now ;)
Originally committed as revision 749 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
45a82edbdd
commit
71529954c6
@ -172,7 +172,7 @@ uint64_t time= rdtsc();
|
||||
return -1;
|
||||
}
|
||||
|
||||
if(ret==FRAME_SKIPED) return (get_bits_count(&s->gb)+7)>>3;
|
||||
if(ret==FRAME_SKIPED) return buf_size;
|
||||
/* skip if the header was thrashed */
|
||||
if (ret < 0){
|
||||
fprintf(stderr, "header damaged\n");
|
||||
@ -447,10 +447,7 @@ uint64_t time= rdtsc();
|
||||
#ifdef PRINT_FRAME_TIME
|
||||
printf("%Ld\n", rdtsc()-time);
|
||||
#endif
|
||||
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;
|
||||
return buf_size;
|
||||
}
|
||||
|
||||
AVCodec mpeg4_decoder = {
|
||||
|
Loading…
Reference in New Issue
Block a user