diff options
Diffstat (limited to 'libavfilter/avcodec.c')
-rw-r--r-- | libavfilter/avcodec.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavfilter/avcodec.c b/libavfilter/avcodec.c index 2010040d14..2850c4daa5 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, |