Mercurial > libavcodec.hg
diff 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 |
line wrap: on
line diff
--- a/dv.c Wed Feb 22 05:59:44 2006 +0000 +++ b/dv.c Thu Feb 23 00:16:45 2006 +0000 @@ -886,6 +886,8 @@ for (j=0; j<5*6; j++) { if (enc_blks[j].partial_bit_count) pb=dv_encode_ac(&enc_blks[j], pb, &pbs[6*5]); + if (enc_blks[j].partial_bit_count) + av_log(NULL, AV_LOG_ERROR, "ac bitstream overflow\n"); } for (j=0; j<5*6; j++)