X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavfilter%2Favcodec.c;h=2850c4daa5709c45991bac82791f6dd8e0ad42d0;hb=0c01947316eaaa46946f9e93218fe5ab115df905;hp=2010040d141bc052ec7698d8d24629bc74ceff2a;hpb=7b0b10ce4186eaa1cd3c0a2bfbb86307d65eecfd;p=ffmpeg diff --git a/libavfilter/avcodec.c b/libavfilter/avcodec.c index 2010040d141..2850c4daa57 100644 --- a/libavfilter/avcodec.c +++ b/libavfilter/avcodec.c @@ -23,7 +23,7 @@ #include "avcodec.h" -void avfilter_copy_frame_props(AVFilterBufferRef *dst, const AVFrame *src) +int avfilter_copy_frame_props(AVFilterBufferRef *dst, const AVFrame *src) { dst->pts = src->pts; dst->pos = src->pkt_pos; @@ -39,6 +39,8 @@ void avfilter_copy_frame_props(AVFilterBufferRef *dst, const AVFrame *src) dst->video->key_frame = src->key_frame; dst->video->pict_type = src->pict_type; } + + return 0; } AVFilterBufferRef *avfilter_get_video_buffer_ref_from_frame(const AVFrame *frame,