diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-05-16 14:57:59 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-05-18 19:29:39 +0200 |
commit | 7b3b24a8eea8da7b63b4167b7ab8bc1c0fdecc64 (patch) | |
tree | 877305b5d1186fd009254e45915a358c6a74bc76 /libavfilter/video.c | |
parent | 0ad26cdf24122f643c497b6e5442f4f2462f33a2 (diff) | |
download | ffmpeg-7b3b24a8eea8da7b63b4167b7ab8bc1c0fdecc64.tar.gz |
lavfi: initialize pts to AV_NOPTS_VALUE when creating new buffer refs.
Diffstat (limited to 'libavfilter/video.c')
-rw-r--r-- | libavfilter/video.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavfilter/video.c b/libavfilter/video.c index 211cec9055..ad033f3b8f 100644 --- a/libavfilter/video.c +++ b/libavfilter/video.c @@ -125,6 +125,8 @@ avfilter_get_video_buffer_ref_from_arrays(uint8_t *data[4], int linesize[4], int pic-> extended_data = pic->data; picref->extended_data = picref->data; + picref->pts = AV_NOPTS_VALUE; + return picref; fail: |