diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-01-31 20:24:06 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2013-02-04 06:17:15 +0100 |
commit | d9df93efbf59b1dc8b013d174ca4ad9c634c28f7 (patch) | |
tree | fdacf9162c43e3302dc9c8b74d93b55f8cab535a /libavcodec/flacenc.c | |
parent | 76d90125cdc09a029f7fe87f1c272aaa1a8a808e (diff) | |
download | ffmpeg-d9df93efbf59b1dc8b013d174ca4ad9c634c28f7.tar.gz |
mpegvideo: simplify REBASE_PICTURE
Always evaluate to NULL when the source Picture is not located in the
MpegEncContext.picture array. That will only happen for
next/last_picture_ptr when updating the thread context during h264 frame
threaded decoding, where they will point to elements of ref_list. Since
ref_list is not copied during updating the context and is invalid until
it is constructed for the current slice, there is no point in doing
anything complicated with next/last_picture_ptr, as they will get
updated when the ref_list is filled.
Diffstat (limited to 'libavcodec/flacenc.c')
0 files changed, 0 insertions, 0 deletions