aboutsummaryrefslogtreecommitdiffstats
path: root/tools/python/convert_header.py
diff options
context:
space:
mode:
authorLimin Wang <lance.lmwang@gmail.com>2020-04-18 12:52:48 +0800
committerLimin Wang <lance.lmwang@gmail.com>2020-05-08 06:42:25 +0800
commitf5e33514e7a879b09fabfeffd78402590225bf47 (patch)
tree310084846d71bc6a057a448f862ba19dfd7aa860 /tools/python/convert_header.py
parentd8e98d93485754b746a7d1103f33a30de08022b7 (diff)
downloadffmpeg-f5e33514e7a879b09fabfeffd78402590225bf47.tar.gz
avcodec/libx264: return immediately if encode_nals return 0
x264_encoder_encode can return 0 with nnal 0. As a result, encode_nals will return 0. In this condition, it's better to return 0 immediately to avoid the following unneeded pict_type and flags setting. Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
Diffstat (limited to 'tools/python/convert_header.py')
0 files changed, 0 insertions, 0 deletions