Commit 2c381e23 authored by Jan Gerber's avatar Jan Gerber
Browse files

remove unused frame buffer

parent cc135695
......@@ -901,7 +901,6 @@ void ff2theora_output(ff2theora this) {
if (this->video_index >= 0 || this->audio_index >=0){
AVFrame *frame=NULL;
AVFrame *frame_tmp=NULL;
AVFrame *output=NULL;
AVFrame *output_tmp=NULL;
AVFrame *output_resized=NULL;
......@@ -935,8 +934,6 @@ void ff2theora_output(ff2theora this) {
if(!info.audio_only){
frame = frame_alloc(vstream->codec->pix_fmt,
vstream->codec->width,vstream->codec->height);
frame_tmp = frame_alloc(vstream->codec->pix_fmt,
vstream->codec->width,vstream->codec->height);
output_tmp =frame_alloc(this->pix_fmt,
vstream->codec->width,vstream->codec->height);
output =frame_alloc(this->pix_fmt,
......
Supports Markdown
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