Mercurial > libavcodec.hg
comparison dv.c @ 3139:e58fb7ffbb4f libavcodec
print a big warning if we mess up and run out of space ...
author | michael |
---|---|
date | Thu, 23 Feb 2006 00:16:45 +0000 |
parents | 072dbc669253 |
children | d6e057513aa8 |
comparison
equal
deleted
inserted
replaced
3138:c12fc3d1c612 | 3139:e58fb7ffbb4f |
---|---|
884 /* Third and final pass over the whole vides segment space */ | 884 /* Third and final pass over the whole vides segment space */ |
885 pb= &pbs[0]; | 885 pb= &pbs[0]; |
886 for (j=0; j<5*6; j++) { | 886 for (j=0; j<5*6; j++) { |
887 if (enc_blks[j].partial_bit_count) | 887 if (enc_blks[j].partial_bit_count) |
888 pb=dv_encode_ac(&enc_blks[j], pb, &pbs[6*5]); | 888 pb=dv_encode_ac(&enc_blks[j], pb, &pbs[6*5]); |
889 if (enc_blks[j].partial_bit_count) | |
890 av_log(NULL, AV_LOG_ERROR, "ac bitstream overflow\n"); | |
889 } | 891 } |
890 | 892 |
891 for (j=0; j<5*6; j++) | 893 for (j=0; j<5*6; j++) |
892 flush_put_bits(&pbs[j]); | 894 flush_put_bits(&pbs[j]); |
893 } | 895 } |