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:
be0d52a
)
return 0 from encode_picture() and estimate_qp() on success
author
Måns Rullgård
<mans@mansr.com>
Wed, 27 Sep 2006 22:12:08 +0000
(22:12 +0000)
committer
Måns Rullgård
<mans@mansr.com>
Wed, 27 Sep 2006 22:12:08 +0000
(22:12 +0000)
Originally committed as revision 6363 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/mpegvideo.c
patch
|
blob
|
history
diff --git
a/libavcodec/mpegvideo.c
b/libavcodec/mpegvideo.c
index
c8fb2a4
..
06e4447
100644
(file)
--- a/
libavcodec/mpegvideo.c
+++ b/
libavcodec/mpegvideo.c
@@
-5494,6
+5494,7
@@
static int estimate_qp(MpegEncContext *s, int dry_run){
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
@@
static int encode_picture(MpegEncContext *s, int picture_number)
merge_context_after_encode(s, s->thread_context[i]);
}
emms_c();
+ return 0;
}
static void denoise_dct_c(MpegEncContext *s, DCTELEM *block){