avcodec/mediacodecdec: clarify delay_flush specific code
authorAman Gupta <aman@tmm1.net>
Tue, 24 Apr 2018 02:21:19 +0000 (19:21 -0700)
committerAman Gupta <aman@tmm1.net>
Wed, 25 Apr 2018 17:53:52 +0000 (10:53 -0700)
commit6a7a84b2d11e6c5e2ca2023a6886ca75b8b10030
tree61bf67ae6e608e81194f9aae537c64e9459019ef
parentb2570afde3623ef2806b82f1d4e7428283b32491
avcodec/mediacodecdec: clarify delay_flush specific code

As of 2a0eb8685, ff_mediacodec_dec_is_flushing() only returns
true in delay_flush mode. Make this more obvious by adding
delay_flush to the if statement.

Signed-off-by: Matthieu Bouron <matthieu.bouron@gmail.com>
Signed-off-by: Aman Gupta <aman@tmm1.net>
libavcodec/mediacodecdec.c
libavcodec/mediacodecdec_common.c