You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
libx265: Fix 'braces around scalar initializer' warning
x265 Reordered the x265_picture fields in the commit
51b1518de2 (diff-945b5354d8767dfac13334f2d22cf58fR107)
Now the first field is an integer and not an array.
This commit is contained in:
@@ -247,7 +247,7 @@ static int libx265_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
|
|||||||
{
|
{
|
||||||
libx265Context *ctx = avctx->priv_data;
|
libx265Context *ctx = avctx->priv_data;
|
||||||
x265_picture x265pic;
|
x265_picture x265pic;
|
||||||
x265_picture x265pic_out = { { 0 } };
|
x265_picture x265pic_out = { 0 };
|
||||||
x265_nal *nal;
|
x265_nal *nal;
|
||||||
uint8_t *dst;
|
uint8_t *dst;
|
||||||
int payload = 0;
|
int payload = 0;
|
||||||
|
Reference in New Issue
Block a user