mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
avcodec/mediacodecenc: Flush bsf after create extradata
Avoid leaving any data inside bsf while also avoid keep bsf in EOF state. Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
This commit is contained in:
parent
1e2ac489a4
commit
cf4af4bca0
@ -681,6 +681,7 @@ bailout:
|
||||
s->eof_sent = 0;
|
||||
ff_AMediaCodec_flush(s->codec);
|
||||
}
|
||||
av_bsf_flush(s->bsf);
|
||||
av_packet_free(&pkt);
|
||||
return ret;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user