mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
cosmetics: Remove extra newlines at EOF
This commit is contained in:
parent
e771e6dd63
commit
7181c4edee
@ -886,4 +886,3 @@ AVCodec ff_fourxm_decoder = {
|
||||
.capabilities = CODEC_CAP_DR1,
|
||||
.long_name = NULL_IF_CONFIG_SMALL("4X Movie"),
|
||||
};
|
||||
|
||||
|
@ -142,4 +142,3 @@ void ff_tilt_compensation(float *mem, float tilt, float *samples, int size)
|
||||
samples[0] -= tilt * *mem;
|
||||
*mem = new_tilt_mem;
|
||||
}
|
||||
|
||||
|
@ -432,4 +432,3 @@ void avcodec_register_all(void)
|
||||
REGISTER_BSF (REMOVE_EXTRADATA, remove_extradata);
|
||||
REGISTER_BSF (TEXT2MOVSUB, text2movsub);
|
||||
}
|
||||
|
||||
|
@ -1755,4 +1755,3 @@ AVCodec ff_als_decoder = {
|
||||
.capabilities = CODEC_CAP_SUBFRAMES | CODEC_CAP_DR1,
|
||||
.long_name = NULL_IF_CONFIG_SMALL("MPEG-4 Audio Lossless Coding (ALS)"),
|
||||
};
|
||||
|
||||
|
@ -1669,4 +1669,3 @@ static const float highpass_poles[2] = { -1.933105469, 0.935913085 };
|
||||
static const float highpass_gain = 0.939819335;
|
||||
|
||||
#endif /* AVCODEC_AMRNBDATA_H */
|
||||
|
||||
|
@ -117,4 +117,3 @@ void atrac_iqmf (float *inlo, float *inhi, unsigned int nIn, float *pOut, float
|
||||
/* Update the delay buffer. */
|
||||
memcpy(delayBuf, temp + nIn*2, 46*sizeof(float));
|
||||
}
|
||||
|
||||
|
@ -133,4 +133,3 @@ AVCodec ff_aura2_decoder = {
|
||||
.capabilities = CODEC_CAP_DR1,
|
||||
.long_name = NULL_IF_CONFIG_SMALL("Auravision Aura 2"),
|
||||
};
|
||||
|
||||
|
@ -322,4 +322,3 @@ void free_vlc(VLC *vlc)
|
||||
{
|
||||
av_freep(&vlc->table);
|
||||
}
|
||||
|
||||
|
@ -265,4 +265,3 @@ AVCodec ff_cscd_decoder = {
|
||||
.capabilities = CODEC_CAP_DR1,
|
||||
.long_name = NULL_IF_CONFIG_SMALL("CamStudio"),
|
||||
};
|
||||
|
||||
|
@ -282,4 +282,3 @@ const DVprofile* avpriv_dv_codec_profile(AVCodecContext* codec)
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
@ -328,4 +328,3 @@ AVCodec ff_dxa_decoder = {
|
||||
.capabilities = CODEC_CAP_DR1,
|
||||
.long_name = NULL_IF_CONFIG_SMALL("Feeble Files/ScummVM DXA"),
|
||||
};
|
||||
|
||||
|
@ -151,4 +151,3 @@ end:
|
||||
ff_draw_horiz_band(s, 0, s->avctx->height);
|
||||
return result;
|
||||
}
|
||||
|
||||
|
@ -448,4 +448,3 @@ AVHWAccel ff_h264_dxva2_hwaccel = {
|
||||
.end_frame = end_frame,
|
||||
.priv_data_size = sizeof(struct dxva2_picture_context),
|
||||
};
|
||||
|
||||
|
@ -270,4 +270,3 @@ AVHWAccel ff_mpeg2_dxva2_hwaccel = {
|
||||
.end_frame = end_frame,
|
||||
.priv_data_size = sizeof(struct dxva2_picture_context),
|
||||
};
|
||||
|
||||
|
@ -286,4 +286,3 @@ AVHWAccel ff_vc1_dxva2_hwaccel = {
|
||||
.end_frame = end_frame,
|
||||
.priv_data_size = sizeof(struct dxva2_picture_context),
|
||||
};
|
||||
|
||||
|
@ -374,4 +374,3 @@ AVCodec ff_escape124_decoder = {
|
||||
.capabilities = CODEC_CAP_DR1,
|
||||
.long_name = NULL_IF_CONFIG_SMALL("Escape 124"),
|
||||
};
|
||||
|
||||
|
@ -350,4 +350,3 @@ static void ff_fft_calc_c(FFTContext *s, FFTComplex *z)
|
||||
{
|
||||
fft_dispatch[s->nbits-2](z);
|
||||
}
|
||||
|
||||
|
@ -286,4 +286,3 @@ AVCodec ff_flashsv_encoder = {
|
||||
.pix_fmts = (const enum PixelFormat[]){PIX_FMT_BGR24, PIX_FMT_NONE},
|
||||
.long_name = NULL_IF_CONFIG_SMALL("Flash Screen Video"),
|
||||
};
|
||||
|
||||
|
@ -51,4 +51,3 @@ void ff_h261_loop_filter(MpegEncContext *s){
|
||||
s->dsp.h261_loop_filter(dest_cb, uvlinesize);
|
||||
s->dsp.h261_loop_filter(dest_cr, uvlinesize);
|
||||
}
|
||||
|
||||
|
@ -332,4 +332,3 @@ AVCodec ff_h261_encoder = {
|
||||
.pix_fmts= (const enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_NONE},
|
||||
.long_name= NULL_IF_CONFIG_SMALL("H.261"),
|
||||
};
|
||||
|
||||
|
@ -1187,4 +1187,3 @@ decode_intra_mb:
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -190,4 +190,3 @@ AVBitStreamFilter ff_h264_mp4toannexb_bsf = {
|
||||
sizeof(H264BSFContext),
|
||||
h264_mp4toannexb_filter,
|
||||
};
|
||||
|
||||
|
@ -264,4 +264,3 @@ AVCodec ff_idcin_decoder = {
|
||||
.capabilities = CODEC_CAP_DR1,
|
||||
.long_name = NULL_IF_CONFIG_SMALL("id Quake II CIN video"),
|
||||
};
|
||||
|
||||
|
@ -1013,4 +1013,3 @@ int avpicture_deinterlace(AVPicture *dst, const AVPicture *src,
|
||||
emms_c();
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -136,4 +136,3 @@ AVCodec ff_h263i_decoder = {
|
||||
.long_name = NULL_IF_CONFIG_SMALL("Intel H.263"),
|
||||
.pix_fmts= ff_pixfmt_list_420,
|
||||
};
|
||||
|
||||
|
@ -45,4 +45,3 @@ av_cold void ff_kbd_window_init(float *window, float alpha, int n)
|
||||
for (i = 0; i < n; i++)
|
||||
window[i] = sqrt(local_window[i] / sum);
|
||||
}
|
||||
|
||||
|
@ -126,4 +126,3 @@ AVCodec ff_libvo_aacenc_encoder = {
|
||||
.sample_fmts = (const enum AVSampleFormat[]){AV_SAMPLE_FMT_S16,AV_SAMPLE_FMT_NONE},
|
||||
.long_name = NULL_IF_CONFIG_SMALL("Android VisualOn AAC"),
|
||||
};
|
||||
|
||||
|
@ -130,4 +130,3 @@ AVCodec ff_libvo_amrwbenc_encoder = {
|
||||
"(AMR) Wide-Band"),
|
||||
.priv_class = &class,
|
||||
};
|
||||
|
||||
|
@ -384,4 +384,3 @@ AVCodec ff_libxavs_encoder = {
|
||||
.priv_class = &class,
|
||||
.defaults = xavs_defaults,
|
||||
};
|
||||
|
||||
|
@ -145,4 +145,3 @@ void ff_xvid_rate_control_uninit(MpegEncContext *s){
|
||||
|
||||
xvid_plugin_2pass2(s->rc_context.non_lavc_opaque, XVID_PLG_DESTROY, &xvid_plg_destroy, NULL);
|
||||
}
|
||||
|
||||
|
@ -310,4 +310,3 @@ AVCodec ff_mace6_decoder = {
|
||||
.capabilities = CODEC_CAP_DR1,
|
||||
.long_name = NULL_IF_CONFIG_SMALL("MACE (Macintosh Audio Compression/Expansion) 6:1"),
|
||||
};
|
||||
|
||||
|
@ -179,4 +179,3 @@ if ((y) < (x)) {\
|
||||
#endif
|
||||
|
||||
#endif /* AVCODEC_MATHOPS_H */
|
||||
|
||||
|
@ -276,4 +276,3 @@ AVCodec ff_mdec_decoder = {
|
||||
.long_name= NULL_IF_CONFIG_SMALL("Sony PlayStation MDEC (Motion DECoder)"),
|
||||
.init_thread_copy= ONLY_IF_THREADS_ENABLED(decode_init_thread_copy)
|
||||
};
|
||||
|
||||
|
@ -56,4 +56,3 @@ typedef struct MLPHeaderInfo
|
||||
int ff_mlp_read_major_sync(void *log, MLPHeaderInfo *mh, GetBitContext *gb);
|
||||
|
||||
#endif /* AVCODEC_MLP_PARSER_H */
|
||||
|
||||
|
@ -2587,4 +2587,3 @@ AVCodec ff_mpeg1_vdpau_decoder = {
|
||||
.long_name = NULL_IF_CONFIG_SMALL("MPEG-1 video (VDPAU acceleration)"),
|
||||
};
|
||||
#endif
|
||||
|
||||
|
@ -168,4 +168,3 @@ int ff_mpeg4_set_direct_mv(MpegEncContext *s, int mx, int my){
|
||||
return MB_TYPE_DIRECT2 | MB_TYPE_16x16 | MB_TYPE_L0L1; //Note see prev line
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -256,4 +256,3 @@ int ff_msrle_decode(AVCodecContext *avctx, AVPicture *pic, int depth,
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -37,4 +37,3 @@ int ff_msrle_decode(AVCodecContext *avctx, AVPicture *pic, int depth,
|
||||
const uint8_t* data, int data_size);
|
||||
|
||||
#endif /* AVCODEC_MSRLEDEC_H */
|
||||
|
||||
|
@ -223,4 +223,3 @@ void ff_nelly_get_sample_bits(const float *buf, int *bits)
|
||||
bits[i] = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -227,4 +227,3 @@ AVCodec ff_nellymoser_decoder = {
|
||||
AV_SAMPLE_FMT_S16,
|
||||
AV_SAMPLE_FMT_NONE },
|
||||
};
|
||||
|
||||
|
@ -283,4 +283,3 @@ AVCodec ff_nuv_decoder = {
|
||||
.capabilities = CODEC_CAP_DR1,
|
||||
.long_name = NULL_IF_CONFIG_SMALL("NuppelVideo/RTJPEG"),
|
||||
};
|
||||
|
||||
|
@ -37,4 +37,3 @@ int main(void)
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -134,4 +134,3 @@ av_cold void ff_psy_preprocess_end(struct FFPsyPreprocessContext *ctx)
|
||||
av_freep(&ctx->fstate);
|
||||
av_free(ctx);
|
||||
}
|
||||
|
||||
|
@ -545,4 +545,3 @@ AVCodec ff_qtrle_decoder = {
|
||||
.capabilities = CODEC_CAP_DR1,
|
||||
.long_name = NULL_IF_CONFIG_SMALL("QuickTime Animation (RLE) video"),
|
||||
};
|
||||
|
||||
|
@ -102,4 +102,3 @@ void ff_xvid_rate_control_uninit(struct MpegEncContext *s);
|
||||
float ff_xvid_rate_estimate_qscale(struct MpegEncContext *s, int dry_run);
|
||||
|
||||
#endif /* AVCODEC_RATECONTROL_H */
|
||||
|
||||
|
@ -229,4 +229,3 @@ AVCodec ff_rl2_decoder = {
|
||||
.capabilities = CODEC_CAP_DR1,
|
||||
.long_name = NULL_IF_CONFIG_SMALL("RL2 video"),
|
||||
};
|
||||
|
||||
|
@ -268,4 +268,3 @@ AVCodec ff_sgi_decoder = {
|
||||
.decode = decode_frame,
|
||||
.long_name = NULL_IF_CONFIG_SMALL("SGI image"),
|
||||
};
|
||||
|
||||
|
@ -752,4 +752,3 @@ AVCodec ff_smackaud_decoder = {
|
||||
.capabilities = CODEC_CAP_DR1,
|
||||
.long_name = NULL_IF_CONFIG_SMALL("Smacker audio"),
|
||||
};
|
||||
|
||||
|
@ -650,4 +650,3 @@ av_cold void ff_snow_common_end(SnowContext *s)
|
||||
if (s->current_picture.data[0])
|
||||
s->avctx->release_buffer(s->avctx, &s->current_picture);
|
||||
}
|
||||
|
||||
|
@ -209,4 +209,3 @@ AVCodec ff_tscc_decoder = {
|
||||
.capabilities = CODEC_CAP_DR1,
|
||||
.long_name = NULL_IF_CONFIG_SMALL("TechSmith Screen Capture Codec"),
|
||||
};
|
||||
|
||||
|
@ -428,4 +428,3 @@ AVCodec ff_ulti_decoder = {
|
||||
.capabilities = CODEC_CAP_DR1,
|
||||
.long_name = NULL_IF_CONFIG_SMALL("IBM UltiMotion"),
|
||||
};
|
||||
|
||||
|
@ -578,4 +578,3 @@ AVCodec ff_utvideo_decoder = {
|
||||
.capabilities = CODEC_CAP_DR1 | CODEC_CAP_FRAME_THREADS,
|
||||
.long_name = NULL_IF_CONFIG_SMALL("Ut Video"),
|
||||
};
|
||||
|
||||
|
@ -276,4 +276,3 @@ AVCodec ff_vb_decoder = {
|
||||
.decode = decode_frame,
|
||||
.long_name = NULL_IF_CONFIG_SMALL("Beam Software VB"),
|
||||
};
|
||||
|
||||
|
@ -519,4 +519,3 @@ AVCodec ff_vmnc_decoder = {
|
||||
.capabilities = CODEC_CAP_DR1,
|
||||
.long_name = NULL_IF_CONFIG_SMALL("VMware Screen Codec / VMware Video"),
|
||||
};
|
||||
|
||||
|
@ -1713,4 +1713,3 @@ AVCodec ff_vorbis_decoder = {
|
||||
AV_SAMPLE_FMT_FLT, AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_NONE
|
||||
},
|
||||
};
|
||||
|
||||
|
@ -525,4 +525,3 @@ int ff_wma_run_level_decode(AVCodecContext* avctx, GetBitContext* gb,
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -425,4 +425,3 @@ AVCodec ff_xan_wc4_decoder = {
|
||||
.capabilities = CODEC_CAP_DR1,
|
||||
.long_name = NULL_IF_CONFIG_SMALL("Wing Commander IV / Xxan"),
|
||||
};
|
||||
|
||||
|
@ -672,4 +672,3 @@ AVCodec ff_zmbv_decoder = {
|
||||
.capabilities = CODEC_CAP_DR1,
|
||||
.long_name = NULL_IF_CONFIG_SMALL("Zip Motion Blocks Video"),
|
||||
};
|
||||
|
||||
|
@ -77,4 +77,3 @@ const char *avdevice_license(void);
|
||||
void avdevice_register_all(void);
|
||||
|
||||
#endif /* AVDEVICE_AVDEVICE_H */
|
||||
|
||||
|
@ -297,4 +297,3 @@ AVFilterBufferRef *avfilter_null_get_audio_buffer(AVFilterLink *link, int perms,
|
||||
return avfilter_get_audio_buffer(link->dst->outputs[0], perms, sample_fmt,
|
||||
size, channel_layout, packed);
|
||||
}
|
||||
|
||||
|
@ -181,4 +181,3 @@ void avfilter_formats_changeref(AVFilterFormats **oldref,
|
||||
*oldref = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -143,4 +143,3 @@ AVFilter avfilter_vf_setsar = {
|
||||
{ .name = NULL}},
|
||||
};
|
||||
#endif /* CONFIG_SETSAR_FILTER */
|
||||
|
||||
|
@ -144,4 +144,3 @@ AVFilter avfilter_vf_noformat = {
|
||||
{ .name = NULL}},
|
||||
};
|
||||
#endif /* CONFIG_NOFORMAT_FILTER */
|
||||
|
||||
|
@ -103,4 +103,3 @@ AVInputFormat ff_aea_demuxer = {
|
||||
.flags= AVFMT_GENERIC_INDEX,
|
||||
.extensions = "aea",
|
||||
};
|
||||
|
||||
|
@ -352,4 +352,3 @@ int ff_check_interrupt(AVIOInterruptCB *cb)
|
||||
return ret;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -265,4 +265,3 @@ char *ff_http_auth_create_response(HTTPAuthState *state, const char *auth,
|
||||
}
|
||||
return authstr;
|
||||
}
|
||||
|
||||
|
@ -39,4 +39,3 @@ extern const char * const ff_id3v1_genre_str[ID3v1_GENRE_MAX + 1];
|
||||
void ff_id3v1_read(AVFormatContext *s);
|
||||
|
||||
#endif /* AVFORMAT_ID3V1_H */
|
||||
|
||||
|
@ -130,4 +130,3 @@ AVInputFormat ff_iss_demuxer = {
|
||||
.read_header = iss_read_header,
|
||||
.read_packet = iss_read_packet,
|
||||
};
|
||||
|
||||
|
@ -346,4 +346,3 @@ AVInputFormat ff_lxf_demuxer = {
|
||||
.read_packet = lxf_read_packet,
|
||||
.codec_tag = (const AVCodecTag* const []){lxf_tags, 0},
|
||||
};
|
||||
|
||||
|
@ -68,4 +68,3 @@ void ff_metadata_conv_ctx(AVFormatContext *ctx, const AVMetadataConv *d_conv,
|
||||
for (i=0; i<ctx->nb_programs; i++)
|
||||
ff_metadata_conv(&ctx->programs[i]->metadata, d_conv, s_conv);
|
||||
}
|
||||
|
||||
|
@ -459,4 +459,3 @@ void ff_mov_close_hinting(MOVTrack *track) {
|
||||
}
|
||||
avformat_free_context(rtp_ctx);
|
||||
}
|
||||
|
||||
|
@ -182,4 +182,3 @@ int ff_is_multicast_address(struct sockaddr *addr)
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -442,4 +442,3 @@ AVInputFormat ff_oma_demuxer = {
|
||||
.extensions = "oma,omg,aa3",
|
||||
.codec_tag = (const AVCodecTag* const []){ff_oma_codec_tags, 0},
|
||||
};
|
||||
|
||||
|
@ -294,4 +294,3 @@ AVInputFormat ff_rl2_demuxer = {
|
||||
.read_packet = rl2_read_packet,
|
||||
.read_seek = rl2_read_seek,
|
||||
};
|
||||
|
||||
|
@ -205,4 +205,3 @@ RTPDynamicProtocolHandler ff_amr_wb_dynamic_handler = {
|
||||
.free = amr_free_context,
|
||||
.parse_packet = amr_handle_packet,
|
||||
};
|
||||
|
||||
|
@ -105,4 +105,3 @@ RTPDynamicProtocolHandler ff_h263_2000_dynamic_handler = {
|
||||
.codec_id = CODEC_ID_H263,
|
||||
.parse_packet = h263_handle_packet,
|
||||
};
|
||||
|
||||
|
@ -63,4 +63,3 @@ void ff_rtp_send_amr(AVFormatContext *s1, const uint8_t *buff, int size)
|
||||
memcpy(s->buf_ptr, buff, size);
|
||||
s->buf_ptr += size;
|
||||
}
|
||||
|
||||
|
@ -83,4 +83,3 @@ AVFormatContext *ff_rtp_chain_mux_open(AVFormatContext *s, AVStream *st,
|
||||
|
||||
return rtpctx;
|
||||
}
|
||||
|
||||
|
@ -115,5 +115,3 @@ void ff_rtp_send_mpegvideo(AVFormatContext *s1, const uint8_t *buf1, int size)
|
||||
end_of_slice = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
@ -1997,4 +1997,3 @@ AVInputFormat ff_rtp_demuxer = {
|
||||
.priv_class = &rtp_demuxer_class
|
||||
};
|
||||
#endif /* CONFIG_RTP_DEMUXER */
|
||||
|
||||
|
@ -245,4 +245,3 @@ AVOutputFormat ff_rtsp_muxer = {
|
||||
.flags = AVFMT_NOFILE | AVFMT_GLOBALHEADER,
|
||||
.priv_class = &rtsp_muxer_class,
|
||||
};
|
||||
|
||||
|
@ -236,4 +236,3 @@ AVInputFormat ff_sap_demuxer = {
|
||||
.read_close = sap_read_close,
|
||||
.flags = AVFMT_NOFILE,
|
||||
};
|
||||
|
||||
|
@ -261,4 +261,3 @@ AVOutputFormat ff_sap_muxer = {
|
||||
.write_trailer = sap_write_close,
|
||||
.flags = AVFMT_NOFILE | AVFMT_GLOBALHEADER,
|
||||
};
|
||||
|
||||
|
@ -642,4 +642,3 @@ void ff_sdp_write_media(char *buff, int size, AVCodecContext *c, const char *des
|
||||
{
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -516,4 +516,3 @@ void ff_free_parser_state(AVFormatContext *s, AVParserState *state)
|
||||
av_free(state->stream_states);
|
||||
av_free(state);
|
||||
}
|
||||
|
||||
|
@ -41,4 +41,3 @@ const AVCRC *av_crc_get_table(AVCRCId crc_id);
|
||||
uint32_t av_crc(const AVCRC *ctx, uint32_t start_crc, const uint8_t *buffer, size_t length) av_pure;
|
||||
|
||||
#endif /* AVUTIL_CRC_H */
|
||||
|
||||
|
@ -95,4 +95,3 @@ AVExtFloat av_dbl2ext(double d){
|
||||
ext.exponent[0] |= 0x80;
|
||||
return ext;
|
||||
}
|
||||
|
||||
|
@ -43,4 +43,3 @@ void av_md5_sum(uint8_t *dst, const uint8_t *src, const int len);
|
||||
*/
|
||||
|
||||
#endif /* AVUTIL_MD5_H */
|
||||
|
||||
|
@ -170,4 +170,3 @@ char *av_strdup(const char *s)
|
||||
}
|
||||
return ptr;
|
||||
}
|
||||
|
||||
|
@ -346,4 +346,3 @@ DEFINE_SHUFFLE_BYTES(0, 3, 2, 1)
|
||||
DEFINE_SHUFFLE_BYTES(1, 2, 3, 0)
|
||||
DEFINE_SHUFFLE_BYTES(3, 0, 1, 2)
|
||||
DEFINE_SHUFFLE_BYTES(3, 2, 1, 0)
|
||||
|
||||
|
@ -1533,4 +1533,3 @@ struct SwsContext *sws_getCachedContext(struct SwsContext *context,
|
||||
}
|
||||
return context;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user