comparison roqvideoenc.c @ 7308:29319d07aeb4 libavcodec

Set avctx->coded_frame in RoQ encoder. At some point in the SVN history this became mandated. Fix issue 548.
author vitor
date Sat, 19 Jul 2008 02:43:23 +0000
parents e943e1409077
children 9a72bea281c3
comparison
equal deleted inserted replaced
7307:52764a3665d8 7308:29319d07aeb4
909 write_codebooks(enc, &tempData); 909 write_codebooks(enc, &tempData);
910 910
911 reconstruct_and_encode_image(enc, &tempData, enc->width, enc->height, 911 reconstruct_and_encode_image(enc, &tempData, enc->width, enc->height,
912 enc->width*enc->height/64); 912 enc->width*enc->height/64);
913 913
914 enc->avctx->coded_frame = enc->current_frame;
915
914 /* Rotate frame history */ 916 /* Rotate frame history */
915 FFSWAP(AVFrame *, enc->current_frame, enc->last_frame); 917 FFSWAP(AVFrame *, enc->current_frame, enc->last_frame);
916 FFSWAP(motion_vect *, enc->last_motion4, enc->this_motion4); 918 FFSWAP(motion_vect *, enc->last_motion4, enc->this_motion4);
917 FFSWAP(motion_vect *, enc->last_motion8, enc->this_motion8); 919 FFSWAP(motion_vect *, enc->last_motion8, enc->this_motion8);
918 920