Properly initialize x264_picture_t in libx264.
Bump libx264 version requirement accordingly. Originally committed as revision 23430 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
d04c13f74b
commit
652d9d24dc
2 changed files with 3 additions and 2 deletions
|
|
@ -89,6 +89,7 @@ static int X264_frame(AVCodecContext *ctx, uint8_t *buf,
|
|||
int nnal, i;
|
||||
x264_picture_t pic_out;
|
||||
|
||||
x264_picture_init( &x4->pic );
|
||||
x4->pic.img.i_csp = X264_CSP_I420;
|
||||
x4->pic.img.i_plane = 3;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue