mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-05-31 08:57:49 +00:00
Merge remote branch 'qatar/master'
* qatar/master: (23 commits) ac3enc: correct the flipped sign in the ac3_fixed encoder Eliminate pointless '#if 1' statements without matching '#else'. Add AVX FFT implementation. Increase alignment of av_malloc() as needed by AVX ASM. Update x86inc.asm from x264 to allow AVX emulation using SSE and MMX. mjpeg: Detect overreads in mjpeg_decode_scan() and error out. documentation: extend documentation for ffmpeg -aspect option APIChanges: update commit hashes for recent additions. lavc: deprecate FF_*_TYPE macros in favor of AV_PICTURE_TYPE_* enums aac: add headers needed for log2f() lavc: remove FF_API_MB_Q cruft lavc: remove FF_API_RATE_EMU cruft lavc: remove FF_API_HURRY_UP cruft pad: make the filter parametric vsrc_movie: add key_frame and pict_type. vsrc_movie: fix leak in request_frame() lavfi: add key_frame and pict_type to AVFilterBufferRefVideo. vsrc_buffer: add sample_aspect_ratio fields to arguments. lavfi: add fieldorder filter scale: make the filter parametric ... Conflicts: Changelog doc/filters.texi ffmpeg.c libavcodec/ac3dec.h libavcodec/dsputil.c libavfilter/avfilter.h libavfilter/vf_scale.c libavfilter/vf_yadif.c libavfilter/vsrc_buffer.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
d7e5aebae7
64 changed files with 807 additions and 424 deletions
|
@ -1105,18 +1105,11 @@ void avcodec_default_free_buffers(AVCodecContext *s){
|
|||
s->internal_buffer_count=0;
|
||||
}
|
||||
|
||||
#if FF_API_OLD_FF_PICT_TYPES
|
||||
char av_get_pict_type_char(int pict_type){
|
||||
switch(pict_type){
|
||||
case FF_I_TYPE: return 'I';
|
||||
case FF_P_TYPE: return 'P';
|
||||
case FF_B_TYPE: return 'B';
|
||||
case FF_S_TYPE: return 'S';
|
||||
case FF_SI_TYPE:return 'i';
|
||||
case FF_SP_TYPE:return 'p';
|
||||
case FF_BI_TYPE:return 'b';
|
||||
default: return '?';
|
||||
}
|
||||
return av_get_picture_type_char(pict_type);
|
||||
}
|
||||
#endif
|
||||
|
||||
int av_get_bits_per_sample(enum CodecID codec_id){
|
||||
switch(codec_id){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue