mirror of https://github.com/FFmpeg/FFmpeg.git
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>pull/338/head
parent
d8e98d9348
commit
f5e33514e7
1 changed files with 3 additions and 0 deletions
Loading…
Reference in new issue