avplay: Do not try to allocate new frames when the player is closing
authorLuca Barbato <lu_zero@gentoo.org>
Mon, 17 Apr 2017 22:22:17 +0000 (22:22 +0000)
committerLuca Barbato <lu_zero@gentoo.org>
Mon, 24 Apr 2017 22:38:07 +0000 (00:38 +0200)
commit8c0cadd17e98547d84e82111550caca4fb40ff8d
treecffccda9ea3e3225a230e6b5b4da116ba8a1a2a0
parent41262498ff89ef48e5ce4823b2fc2dc514a3eb0c
avplay: Do not try to allocate new frames when the player is closing

The allocation event can trigger while the decoding thread is already
closing.

Bug-Id: 1052
CC: libav-stable@libav.org
avtools/avplay.c