Mercurial > libavcodec.hg
changeset 3780:6741c0e88310 libavcodec
return 0 from encode_picture() and estimate_qp() on success
author | mru |
---|---|
date | Wed, 27 Sep 2006 22:12:08 +0000 |
parents | 3f7aa9fa5c98 |
children | 8e79b099d354 |
files | mpegvideo.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mpegvideo.c Wed Sep 27 20:08:36 2006 +0000 +++ b/mpegvideo.c Wed Sep 27 22:12:08 2006 +0000 @@ -5494,6 +5494,7 @@ s->lambda= s->current_picture.quality; //printf("%d %d\n", s->avctx->global_quality, s->current_picture.quality); update_qscale(s); + return 0; } static int encode_picture(MpegEncContext *s, int picture_number) @@ -5709,6 +5710,7 @@ merge_context_after_encode(s, s->thread_context[i]); } emms_c(); + return 0; } static void denoise_dct_c(MpegEncContext *s, DCTELEM *block){