diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2009-01-03 19:17:18 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2009-01-03 19:17:18 +0000 |
commit | 25b4c651a3de58ea14c59131c650593736004686 (patch) | |
tree | 5cc7c45e50b84d7e8ff0826a9cd932562f07b664 /ffmpeg.c | |
parent | ebc466bb5fdbfef71700d5f56ffb3cb10e8a3868 (diff) | |
download | ffmpeg-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |