Commit 242eb029 authored by michael's avatar michael

print a big warning if we mess up and run out of space ...


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@5052 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 572a13cd
...@@ -886,6 +886,8 @@ static inline void dv_encode_video_segment(DVVideoContext *s, ...@@ -886,6 +886,8 @@ static inline void dv_encode_video_segment(DVVideoContext *s,
for (j=0; j<5*6; j++) { for (j=0; j<5*6; j++) {
if (enc_blks[j].partial_bit_count) if (enc_blks[j].partial_bit_count)
pb=dv_encode_ac(&enc_blks[j], pb, &pbs[6*5]); 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++) for (j=0; j<5*6; j++)
......
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