FFmpeg/libavcodec
Reimar Döffinger 313d1981ad zerocodec: fix direct rendering.
Set picture type before calling get_buffer.
This allows the DR application to make better decisions.
It also fixes a resource leak in case of missing reference frames
since it would call get_buffer but never release_buffer.
Also use FFSWAP to ensure that the AVFrame is properly initialized
in the next get_buffer (in particular that data[0] is NULL).

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
2012-07-21 21:11:37 +02:00
..
2012-07-19 18:44:46 +02:00
2012-07-11 04:04:29 +02:00
2012-07-20 11:18:58 +02:00
2012-07-06 02:19:21 +00:00
2012-07-07 12:33:51 +02:00
2012-07-07 12:34:04 +02:00
2012-07-19 18:44:46 +02:00
2012-07-08 23:40:55 +00:00
2012-07-10 02:17:53 +02:00
2012-07-10 02:17:53 +02:00
2012-07-10 02:17:52 +02:00
2012-07-10 02:17:52 +02:00
2012-07-10 02:17:52 +02:00
2012-07-01 18:04:08 +02:00
2012-07-03 13:06:23 +00:00
2012-07-12 23:18:48 +02:00
2012-07-17 08:53:36 +02:00
2012-07-20 11:18:58 +02:00
2012-07-18 16:22:41 +02:00
2012-07-10 19:38:24 +02:00
2012-07-09 15:38:28 +02:00
2012-07-09 15:38:16 +02:00
2012-07-08 17:59:56 +02:00
2012-07-06 00:19:12 +00:00
2012-07-05 02:54:34 +00:00
2012-07-17 17:06:24 +00:00
2012-07-05 04:23:55 +02:00
2012-07-15 14:49:32 +02:00
2012-07-02 20:52:22 +02:00
2012-07-07 22:33:13 +00:00
2012-07-08 23:43:18 +00:00
2012-07-17 01:23:35 +00:00
2012-07-17 01:23:35 +00:00
2012-07-14 13:02:51 +02:00
2012-07-02 20:52:36 +02:00
2012-07-11 23:26:55 +02:00
2012-07-02 12:48:29 +02:00
2012-07-21 21:11:37 +02:00