Mercurial > libavcodec.hg
comparison zmbvenc.c @ 7886:90f13ad5d6e3 libavcodec
ZMBV encoder forgot to fill coded frame pointer
author | kostya |
---|---|
date | Thu, 18 Sep 2008 13:17:44 +0000 |
parents | e943e1409077 |
children | 2acf0ae7b041 |
comparison
equal
deleted
inserted
replaced
7885:f874e1d5cf07 | 7886:90f13ad5d6e3 |
---|---|
298 if (zret != Z_OK) { | 298 if (zret != Z_OK) { |
299 av_log(avctx, AV_LOG_ERROR, "Inflate init error: %d\n", zret); | 299 av_log(avctx, AV_LOG_ERROR, "Inflate init error: %d\n", zret); |
300 return -1; | 300 return -1; |
301 } | 301 } |
302 | 302 |
303 avctx->coded_frame = (AVFrame*)&c->pic; | |
304 | |
303 return 0; | 305 return 0; |
304 } | 306 } |
305 | 307 |
306 | 308 |
307 | 309 |