summaryrefslogtreecommitdiff
path: root/libavformat/rtmpproto.c
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2013-03-18 18:54:44 +0100
committerAnton Khirnov <anton@khirnov.net>2013-03-19 11:20:22 +0100
commitc3ebfcd6e1327ca7bbcaee822e593c2da6cfd352 (patch)
treec783c25637430828b876fedacc7b9f8bc3a31850 /libavformat/rtmpproto.c
parent9c9ede44f37e291677c0db1c5fabf1c3f6106008 (diff)
mpegvideo: allocate hwaccel privdata after the frame buffer
This ensures the hwaccel privdata does not leak when a frame buffer could not be allocated (and toggle the assert when the frame is re-used). Having no frame buffer available is quite common when using the DXVA2 hwaccel in situations where the DXVA2 renderer is being re-allocated, for example when moving between displays. Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavformat/rtmpproto.c')
0 files changed, 0 insertions, 0 deletions