OSDN Git Service

h264: only ref cur_pic in update_thread_context if it is initialized
authorAnton Khirnov <anton@khirnov.net>
Thu, 12 Feb 2015 11:26:58 +0000 (12:26 +0100)
committerAnton Khirnov <anton@khirnov.net>
Sat, 21 Feb 2015 08:29:27 +0000 (09:29 +0100)
commit0dea4c77ccf5956561bb8991311b3d834bb5fa40
treeaac3fccab359fadea34e10e602f20e9f0d93035c
parent9abc80f1ed673141326341e26a05c3e1f78576d0
h264: only ref cur_pic in update_thread_context if it is initialized

It may be empty if the previous thread's decode call did not contain a
valid frame.
libavcodec/h264_slice.c