projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
038bfcf
)
r3938 broke 2pass huffyuv (not that anyone uses it)
author
Loren Merritt
<lorenm@u.washington.edu>
Fri, 18 May 2007 08:56:46 +0000
(08:56 +0000)
committer
Loren Merritt
<lorenm@u.washington.edu>
Fri, 18 May 2007 08:56:46 +0000
(08:56 +0000)
Originally committed as revision 9054 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/huffyuv.c
patch
|
blob
|
history
diff --git
a/libavcodec/huffyuv.c
b/libavcodec/huffyuv.c
index
fc3d94a
..
1154a71
100644
(file)
--- a/
libavcodec/huffyuv.c
+++ b/
libavcodec/huffyuv.c
@@
-1309,11
+1309,11
@@
static int encode_frame(AVCodecContext *avctx, unsigned char *buf, int buf_size,
snprintf(p, end-p, "\n");
p++;
}
- }
+ } else
+ avctx->stats_out[0] = '\0';
if(!(s->avctx->flags2 & CODEC_FLAG2_NO_OUTPUT)){
flush_put_bits(&s->pb);
s->dsp.bswap_buf((uint32_t*)buf, (uint32_t*)buf, size);
- avctx->stats_out[0] = '\0';
}
s->picture_number++;