summaryrefslogtreecommitdiffstats
path: root/libhb/encavcodec.c
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2019-09-24 14:14:29 +0200
committerDamiano Galassi <[email protected]>2019-09-26 10:40:53 +0200
commitcc03179d4c2c8b75d6f324f41b904585bcd43ccb (patch)
tree435ca6b18c0291b8190834120eed7a7b2a30198e /libhb/encavcodec.c
parent390449360f85e925601665adbe695e6e867537b5 (diff)
fix warnings when compiling with clang.
Diffstat (limited to 'libhb/encavcodec.c')
-rw-r--r--libhb/encavcodec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/encavcodec.c b/libhb/encavcodec.c
index 1c949249c..75c6c679b 100644
--- a/libhb/encavcodec.c
+++ b/libhb/encavcodec.c
@@ -863,7 +863,7 @@ static void Encode( hb_work_object_t *w, hb_buffer_t *in,
hb_buffer_list_t *list )
{
hb_work_private_t * pv = w->private_data;
- AVFrame frame = {0};
+ AVFrame frame = {{0}};
int ret;
frame.width = in->f.width;