Originally committed as revision 20997 to svn://svn.ffmpeg.org/ffmpeg/trunk
Unified · Split
| @@ -682,7 +682,7 @@ retry: · 681 unmodified lines | |||
| 682 | } | 682 | } |
| 683 | } | 683 | } |
| 684 | } | 684 | } |
| 685 | if(s->gb.buffer == s->bitstream_buffer && buf_size>20){ //xvid style | 685 | if(s->gb.buffer == s->bitstream_buffer && buf_size>7 && s->xvid_build){ //xvid style |
| 686 | startcode_found=1; | 686 | startcode_found=1; |
| 687 | current_pos=0; | 687 | current_pos=0; |
| 688 | } | 688 | } |