Commit 310f308f authored by aurel's avatar aurel

matroskadec: use av_freep(&x) instead of av_free(x);x=NULL


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14633 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent ae593a88
......@@ -1304,8 +1304,7 @@ static void matroska_clear_queue(MatroskaDemuxContext *matroska)
av_free_packet(matroska->packets[n]);
av_free(matroska->packets[n]);
}
av_free(matroska->packets);
matroska->packets = NULL;
av_freep(&matroska->packets);
matroska->num_packets = 0;
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment