diff options
author | Marton Balint <[email protected]> | 2015-10-23 20:32:51 +0200 |
---|---|---|
committer | Marton Balint <[email protected]> | 2015-10-24 16:12:25 +0200 |
commit | 03037a4aad8b92c00ef2f115605ad20fc4410fe5 (patch) | |
tree | 77d17995b797c3a9a4aeebf69c5629c744827a0d /doc/examples/qsvdec.c | |
parent | a3bed3f3e1a0d76557217ed9ad4a9b20c89ddbcb (diff) |
ffplay: use a separate struct for the rescaled YUVA AVSubtitle rectangles
Current code segfaults since the deprecation of AVSubtitleRect.pict because it
freed/realloced AVSubtitleRect.pict.data by itself.
The new code stores the generated YUVA AVSubtitle rectangles in their own
struct and keeps the original AVSubtitle structure untouched, because
overwriting it is considered invalid API usage.
Signed-off-by: Marton Balint <[email protected]>
Diffstat (limited to 'doc/examples/qsvdec.c')
0 files changed, 0 insertions, 0 deletions