diff options
Diffstat (limited to 'libavfilter/vf_hflip.c')
-rw-r--r-- | libavfilter/vf_hflip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_hflip.c b/libavfilter/vf_hflip.c index 70bf5c939b..41b4d5400d 100644 --- a/libavfilter/vf_hflip.c +++ b/libavfilter/vf_hflip.c @@ -95,7 +95,7 @@ static int start_frame(AVFilterLink *inlink, AVFilterBufferRef *picref) avfilter_copy_buffer_ref_props(outlink->out_buf, picref); /* copy palette if required */ - if (av_pix_fmt_descriptors[inlink->format].flags & PIX_FMT_PAL) + if (av_pix_fmt_desc_get(inlink->format)->flags & PIX_FMT_PAL) memcpy(inlink->dst->outputs[0]->out_buf->data[1], picref->data[1], AVPALETTE_SIZE); return ff_start_frame(outlink, avfilter_ref_buffer(outlink->out_buf, ~0)); |