aboutsummaryrefslogtreecommitdiffstats
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2009-01-03 19:17:18 +0000
committerMichael Niedermayer <michaelni@gmx.at>2009-01-03 19:17:18 +0000
commit25b4c651a3de58ea14c59131c650593736004686 (patch)
tree5cc7c45e50b84d7e8ff0826a9cd932562f07b664 /ffmpeg.c
parentebc466bb5fdbfef71700d5f56ffb3cb10e8a3868 (diff)
downloadffmpeg-25b4c651a3de58ea14c59131c650593736004686.tar.gz
Replace AVSubtitleRect.rgba_palette and bitmap by AVPicture.
Originally committed as revision 16416 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 7b31019cab..5e2e38a870 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -1401,8 +1401,8 @@ static int output_packet(AVInputStream *ist, int ist_index,
if (subtitle_to_free) {
if (subtitle_to_free->rects != NULL) {
for (i = 0; i < subtitle_to_free->num_rects; i++) {
- av_freep(&subtitle_to_free->rects[i]->bitmap);
- av_freep(&subtitle_to_free->rects[i]->rgba_palette);
+ av_freep(&subtitle_to_free->rects[i]->pict.data[0]);
+ av_freep(&subtitle_to_free->rects[i]->pict.data[1]);
av_freep(&subtitle_to_free->rects[i]);
}
av_freep(&subtitle_to_free->rects);