Commit f2618146 authored by michael's avatar michael

100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l10...

100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@2582 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 9ed10d50
......@@ -3144,7 +3144,6 @@ int ff_h263_resync(MpegEncContext *s){
align_get_bits(&s->gb);
}
//printf("checking next 16 %X\n", show_bits(&s->gb, 24));
if(show_bits(&s->gb, 16)==0){
if(s->codec_id==CODEC_ID_MPEG4)
ret= mpeg4_decode_video_packet_header(s);
......@@ -3156,7 +3155,6 @@ int ff_h263_resync(MpegEncContext *s){
//ok, its not where its supposed to be ...
s->gb= s->last_resync_gb;
align_get_bits(&s->gb);
printf("align %X\n", show_bits(&s->gb, 24));
left= s->gb.size_in_bits - get_bits_count(&s->gb);
for(;left>16+1+5+5; left-=8){
......@@ -3174,7 +3172,7 @@ printf("align %X\n", show_bits(&s->gb, 24));
}
skip_bits(&s->gb, 8);
}
printf("no resync\n");
return -1;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment