Bump version to 0.32.
This commit is contained in:
1 parent
b8cd627cd6
commit
4f1fc0daaf
1 file changed
+3
-3
@@ -437,15 +437,15 @@ void FFInitFFmpeg() {
|
|||||||
|
|
||||||
- (void)dealloc
|
- (void)dealloc
|
||||||
{
|
{
|
||||||
if (codecData) {
|
|
||||||
av_freep(&codecData);
|
|
||||||
}
|
|
||||||
if (avCodec) {
|
if (avCodec) {
|
||||||
avcodec_close(avContext);
|
avcodec_close(avContext);
|
||||||
}
|
}
|
||||||
if (avContext) {
|
if (avContext) {
|
||||||
av_freep(&avContext);
|
av_freep(&avContext);
|
||||||
}
|
}
|
||||||
|
if (codecData) {
|
||||||
|
av_freep(&codecData);
|
||||||
|
}
|
||||||
if (subtitle.rects) {
|
if (subtitle.rects) {
|
||||||
for (int i = 0; i < subtitle.num_rects; i++) {
|
for (int i = 0; i < subtitle.num_rects; i++) {
|
||||||
av_freep(&subtitle.rects[i]->pict.data[0]);
|
av_freep(&subtitle.rects[i]->pict.data[0]);
|
||||||
|
|||||||
Reference in new issue
Block a user