at different frame rates).
* Do the av_abort() change that is not otherwise worth checking in.
Originally committed as revision 620 to svn://svn.ffmpeg.org/ffmpeg/trunk
AVCodecContext *enc, *dec;
#define VIDEO_BUFFER_SIZE (1024*1024)
- video_buffer= av_malloc(VIDEO_BUFFER_SIZE);
- if(!video_buffer) return;
enc = &ost->st->codec;
dec = &ist->st->codec;
if (nb <= 0)
return;
+ video_buffer= av_malloc(VIDEO_BUFFER_SIZE);
+ if(!video_buffer) return;
+
/* deinterlace : must be done before any resize */
if (do_deinterlace) {
int size;
}
break;
default:
- abort();
+ av_abort();
}
}
ist->ticker_inited = 1;
break;
default:
- abort();
+ av_abort();
}
}
/* update pts */
ist->st->codec.frame_rate;
break;
default:
- abort();
+ av_abort();
}
ptr += ret;
len -= ret;
do_video_stats(ost, ist, frame_size);
break;
default:
- abort();
+ av_abort();
}
} else {
/* no reencoding needed : output the packet directly */
frame_rate = rfps;
break;
default:
- abort();
+ av_abort();
}
}
has_video = 1;
break;
default:
- abort();
+ av_abort();
}
}
}
has_video = 1;
break;
default:
- abort();
+ av_abort();
}
}
}