X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavfilter%2Favcodec.c;h=2850c4daa5709c45991bac82791f6dd8e0ad42d0;hb=0bb57f8bf029427059be21a562527dcfa0e264c9;hp=2010040d141bc052ec7698d8d24629bc74ceff2a;hpb=f955fdc7c6a8c651c9e67fb1f79d3f0b2f72df11;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,