Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- encoder/encoder.c | 6 ++++++
- 1 file changed, 6 insertions(+)
- diff --git a/encoder/encoder.c b/encoder/encoder.c
- index c87d79d..1d07c3c 100644
- --- a/encoder/encoder.c
- +++ b/encoder/encoder.c
- @@ -3258,7 +3258,10 @@ int x264_encoder_encode( x264_t *h,
- return -1;
- if( x264_frame_copy_picture( h, fenc, pic_in ) < 0 )
- + {
- + x264_frame_push_unused( h, fenc );
- return -1;
- + }
- if( h->param.i_width != 16 * h->mb.i_mb_width ||
- h->param.i_height != 16 * h->mb.i_mb_height )
- @@ -3299,7 +3302,10 @@ int x264_encoder_encode( x264_t *h,
- if( h->param.rc.b_mb_tree && h->param.rc.b_stat_read )
- {
- if( x264_macroblock_tree_read( h, fenc, pic_in->prop.quant_offsets ) )
- + {
- + x264_frame_push_unused( h, fenc );
- return -1;
- + }
- }
- else
- x264_stack_align( x264_adaptive_quant_frame, h, fenc, pic_in->prop.quant_offsets );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement