Browse code

cosmetics: Remove extra newlines at EOF

Alex Converse authored on 2012/01/28 03:36:35
Showing 91 changed files
... ...
@@ -886,4 +886,3 @@ AVCodec ff_fourxm_decoder = {
886 886
     .capabilities   = CODEC_CAP_DR1,
887 887
     .long_name = NULL_IF_CONFIG_SMALL("4X Movie"),
888 888
 };
889
-
... ...
@@ -142,4 +142,3 @@ void ff_tilt_compensation(float *mem, float tilt, float *samples, int size)
142 142
     samples[0] -= tilt * *mem;
143 143
     *mem = new_tilt_mem;
144 144
 }
145
-
... ...
@@ -432,4 +432,3 @@ void avcodec_register_all(void)
432 432
     REGISTER_BSF     (REMOVE_EXTRADATA, remove_extradata);
433 433
     REGISTER_BSF     (TEXT2MOVSUB, text2movsub);
434 434
 }
435
-
... ...
@@ -1755,4 +1755,3 @@ AVCodec ff_als_decoder = {
1755 1755
     .capabilities = CODEC_CAP_SUBFRAMES | CODEC_CAP_DR1,
1756 1756
     .long_name = NULL_IF_CONFIG_SMALL("MPEG-4 Audio Lossless Coding (ALS)"),
1757 1757
 };
1758
-
... ...
@@ -1669,4 +1669,3 @@ static const float highpass_poles[2] = { -1.933105469, 0.935913085 };
1669 1669
 static const float highpass_gain     = 0.939819335;
1670 1670
 
1671 1671
 #endif /* AVCODEC_AMRNBDATA_H */
1672
-
... ...
@@ -117,4 +117,3 @@ void atrac_iqmf (float *inlo, float *inhi, unsigned int nIn, float *pOut, float
117 117
     /* Update the delay buffer. */
118 118
     memcpy(delayBuf, temp + nIn*2, 46*sizeof(float));
119 119
 }
120
-
... ...
@@ -133,4 +133,3 @@ AVCodec ff_aura2_decoder = {
133 133
     .capabilities   = CODEC_CAP_DR1,
134 134
     .long_name = NULL_IF_CONFIG_SMALL("Auravision Aura 2"),
135 135
 };
136
-
... ...
@@ -322,4 +322,3 @@ void free_vlc(VLC *vlc)
322 322
 {
323 323
     av_freep(&vlc->table);
324 324
 }
325
-
... ...
@@ -265,4 +265,3 @@ AVCodec ff_cscd_decoder = {
265 265
     .capabilities   = CODEC_CAP_DR1,
266 266
     .long_name = NULL_IF_CONFIG_SMALL("CamStudio"),
267 267
 };
268
-
... ...
@@ -282,4 +282,3 @@ const DVprofile* avpriv_dv_codec_profile(AVCodecContext* codec)
282 282
 
283 283
     return NULL;
284 284
 }
285
-
... ...
@@ -328,4 +328,3 @@ AVCodec ff_dxa_decoder = {
328 328
     .capabilities   = CODEC_CAP_DR1,
329 329
     .long_name = NULL_IF_CONFIG_SMALL("Feeble Files/ScummVM DXA"),
330 330
 };
331
-
... ...
@@ -151,4 +151,3 @@ end:
151 151
         ff_draw_horiz_band(s, 0, s->avctx->height);
152 152
     return result;
153 153
 }
154
-
... ...
@@ -448,4 +448,3 @@ AVHWAccel ff_h264_dxva2_hwaccel = {
448 448
     .end_frame      = end_frame,
449 449
     .priv_data_size = sizeof(struct dxva2_picture_context),
450 450
 };
451
-
... ...
@@ -270,4 +270,3 @@ AVHWAccel ff_mpeg2_dxva2_hwaccel = {
270 270
     .end_frame      = end_frame,
271 271
     .priv_data_size = sizeof(struct dxva2_picture_context),
272 272
 };
273
-
... ...
@@ -286,4 +286,3 @@ AVHWAccel ff_vc1_dxva2_hwaccel = {
286 286
     .end_frame      = end_frame,
287 287
     .priv_data_size = sizeof(struct dxva2_picture_context),
288 288
 };
289
-
... ...
@@ -374,4 +374,3 @@ AVCodec ff_escape124_decoder = {
374 374
     .capabilities   = CODEC_CAP_DR1,
375 375
     .long_name = NULL_IF_CONFIG_SMALL("Escape 124"),
376 376
 };
377
-
... ...
@@ -350,4 +350,3 @@ static void ff_fft_calc_c(FFTContext *s, FFTComplex *z)
350 350
 {
351 351
     fft_dispatch[s->nbits-2](z);
352 352
 }
353
-
... ...
@@ -286,4 +286,3 @@ AVCodec ff_flashsv_encoder = {
286 286
     .pix_fmts       = (const enum PixelFormat[]){PIX_FMT_BGR24, PIX_FMT_NONE},
287 287
     .long_name      = NULL_IF_CONFIG_SMALL("Flash Screen Video"),
288 288
 };
289
-
... ...
@@ -51,4 +51,3 @@ void ff_h261_loop_filter(MpegEncContext *s){
51 51
     s->dsp.h261_loop_filter(dest_cb, uvlinesize);
52 52
     s->dsp.h261_loop_filter(dest_cr, uvlinesize);
53 53
 }
54
-
... ...
@@ -332,4 +332,3 @@ AVCodec ff_h261_encoder = {
332 332
     .pix_fmts= (const enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_NONE},
333 333
     .long_name= NULL_IF_CONFIG_SMALL("H.261"),
334 334
 };
335
-
... ...
@@ -1187,4 +1187,3 @@ decode_intra_mb:
1187 1187
 
1188 1188
     return 0;
1189 1189
 }
1190
-
... ...
@@ -190,4 +190,3 @@ AVBitStreamFilter ff_h264_mp4toannexb_bsf = {
190 190
     sizeof(H264BSFContext),
191 191
     h264_mp4toannexb_filter,
192 192
 };
193
-
... ...
@@ -264,4 +264,3 @@ AVCodec ff_idcin_decoder = {
264 264
     .capabilities   = CODEC_CAP_DR1,
265 265
     .long_name = NULL_IF_CONFIG_SMALL("id Quake II CIN video"),
266 266
 };
267
-
... ...
@@ -1013,4 +1013,3 @@ int avpicture_deinterlace(AVPicture *dst, const AVPicture *src,
1013 1013
     emms_c();
1014 1014
     return 0;
1015 1015
 }
1016
-
... ...
@@ -136,4 +136,3 @@ AVCodec ff_h263i_decoder = {
136 136
     .long_name = NULL_IF_CONFIG_SMALL("Intel H.263"),
137 137
     .pix_fmts= ff_pixfmt_list_420,
138 138
 };
139
-
... ...
@@ -45,4 +45,3 @@ av_cold void ff_kbd_window_init(float *window, float alpha, int n)
45 45
    for (i = 0; i < n; i++)
46 46
        window[i] = sqrt(local_window[i] / sum);
47 47
 }
48
-
... ...
@@ -126,4 +126,3 @@ AVCodec ff_libvo_aacenc_encoder = {
126 126
     .sample_fmts = (const enum AVSampleFormat[]){AV_SAMPLE_FMT_S16,AV_SAMPLE_FMT_NONE},
127 127
     .long_name = NULL_IF_CONFIG_SMALL("Android VisualOn AAC"),
128 128
 };
129
-
... ...
@@ -130,4 +130,3 @@ AVCodec ff_libvo_amrwbenc_encoder = {
130 130
                                       "(AMR) Wide-Band"),
131 131
     .priv_class = &class,
132 132
 };
133
-
... ...
@@ -384,4 +384,3 @@ AVCodec ff_libxavs_encoder = {
384 384
     .priv_class     = &class,
385 385
     .defaults       = xavs_defaults,
386 386
 };
387
-
... ...
@@ -145,4 +145,3 @@ void ff_xvid_rate_control_uninit(MpegEncContext *s){
145 145
 
146 146
     xvid_plugin_2pass2(s->rc_context.non_lavc_opaque, XVID_PLG_DESTROY, &xvid_plg_destroy, NULL);
147 147
 }
148
-
... ...
@@ -310,4 +310,3 @@ AVCodec ff_mace6_decoder = {
310 310
     .capabilities   = CODEC_CAP_DR1,
311 311
     .long_name = NULL_IF_CONFIG_SMALL("MACE (Macintosh Audio Compression/Expansion) 6:1"),
312 312
 };
313
-
... ...
@@ -179,4 +179,3 @@ if ((y) < (x)) {\
179 179
 #endif
180 180
 
181 181
 #endif /* AVCODEC_MATHOPS_H */
182
-
... ...
@@ -276,4 +276,3 @@ AVCodec ff_mdec_decoder = {
276 276
     .long_name= NULL_IF_CONFIG_SMALL("Sony PlayStation MDEC (Motion DECoder)"),
277 277
     .init_thread_copy= ONLY_IF_THREADS_ENABLED(decode_init_thread_copy)
278 278
 };
279
-
... ...
@@ -56,4 +56,3 @@ typedef struct MLPHeaderInfo
56 56
 int ff_mlp_read_major_sync(void *log, MLPHeaderInfo *mh, GetBitContext *gb);
57 57
 
58 58
 #endif /* AVCODEC_MLP_PARSER_H */
59
-
... ...
@@ -2587,4 +2587,3 @@ AVCodec ff_mpeg1_vdpau_decoder = {
2587 2587
     .long_name      = NULL_IF_CONFIG_SMALL("MPEG-1 video (VDPAU acceleration)"),
2588 2588
 };
2589 2589
 #endif
2590
-
... ...
@@ -168,4 +168,3 @@ int ff_mpeg4_set_direct_mv(MpegEncContext *s, int mx, int my){
168 168
         return MB_TYPE_DIRECT2 | MB_TYPE_16x16 | MB_TYPE_L0L1; //Note see prev line
169 169
     }
170 170
 }
171
-
... ...
@@ -256,4 +256,3 @@ int ff_msrle_decode(AVCodecContext *avctx, AVPicture *pic, int depth,
256 256
         return -1;
257 257
     }
258 258
 }
259
-
... ...
@@ -37,4 +37,3 @@ int ff_msrle_decode(AVCodecContext *avctx, AVPicture *pic, int depth,
37 37
                     const uint8_t* data, int data_size);
38 38
 
39 39
 #endif /* AVCODEC_MSRLEDEC_H */
40
-
... ...
@@ -223,4 +223,3 @@ void ff_nelly_get_sample_bits(const float *buf, int *bits)
223 223
             bits[i] = 0;
224 224
     }
225 225
 }
226
-
... ...
@@ -227,4 +227,3 @@ AVCodec ff_nellymoser_decoder = {
227 227
                                                       AV_SAMPLE_FMT_S16,
228 228
                                                       AV_SAMPLE_FMT_NONE },
229 229
 };
230
-
... ...
@@ -283,4 +283,3 @@ AVCodec ff_nuv_decoder = {
283 283
     .capabilities   = CODEC_CAP_DR1,
284 284
     .long_name = NULL_IF_CONFIG_SMALL("NuppelVideo/RTJPEG"),
285 285
 };
286
-
... ...
@@ -37,4 +37,3 @@ int main(void)
37 37
 
38 38
     return 0;
39 39
 }
40
-
... ...
@@ -134,4 +134,3 @@ av_cold void ff_psy_preprocess_end(struct FFPsyPreprocessContext *ctx)
134 134
     av_freep(&ctx->fstate);
135 135
     av_free(ctx);
136 136
 }
137
-
... ...
@@ -545,4 +545,3 @@ AVCodec ff_qtrle_decoder = {
545 545
     .capabilities   = CODEC_CAP_DR1,
546 546
     .long_name = NULL_IF_CONFIG_SMALL("QuickTime Animation (RLE) video"),
547 547
 };
548
-
... ...
@@ -102,4 +102,3 @@ void ff_xvid_rate_control_uninit(struct MpegEncContext *s);
102 102
 float ff_xvid_rate_estimate_qscale(struct MpegEncContext *s, int dry_run);
103 103
 
104 104
 #endif /* AVCODEC_RATECONTROL_H */
105
-
... ...
@@ -229,4 +229,3 @@ AVCodec ff_rl2_decoder = {
229 229
     .capabilities   = CODEC_CAP_DR1,
230 230
     .long_name = NULL_IF_CONFIG_SMALL("RL2 video"),
231 231
 };
232
-
... ...
@@ -268,4 +268,3 @@ AVCodec ff_sgi_decoder = {
268 268
     .decode         = decode_frame,
269 269
     .long_name = NULL_IF_CONFIG_SMALL("SGI image"),
270 270
 };
271
-
... ...
@@ -752,4 +752,3 @@ AVCodec ff_smackaud_decoder = {
752 752
     .capabilities   = CODEC_CAP_DR1,
753 753
     .long_name = NULL_IF_CONFIG_SMALL("Smacker audio"),
754 754
 };
755
-
... ...
@@ -650,4 +650,3 @@ av_cold void ff_snow_common_end(SnowContext *s)
650 650
     if (s->current_picture.data[0])
651 651
         s->avctx->release_buffer(s->avctx, &s->current_picture);
652 652
 }
653
-
... ...
@@ -209,4 +209,3 @@ AVCodec ff_tscc_decoder = {
209 209
     .capabilities   = CODEC_CAP_DR1,
210 210
     .long_name      = NULL_IF_CONFIG_SMALL("TechSmith Screen Capture Codec"),
211 211
 };
212
-
... ...
@@ -428,4 +428,3 @@ AVCodec ff_ulti_decoder = {
428 428
     .capabilities   = CODEC_CAP_DR1,
429 429
     .long_name = NULL_IF_CONFIG_SMALL("IBM UltiMotion"),
430 430
 };
431
-
... ...
@@ -578,4 +578,3 @@ AVCodec ff_utvideo_decoder = {
578 578
     .capabilities   = CODEC_CAP_DR1 | CODEC_CAP_FRAME_THREADS,
579 579
     .long_name      = NULL_IF_CONFIG_SMALL("Ut Video"),
580 580
 };
581
-
... ...
@@ -276,4 +276,3 @@ AVCodec ff_vb_decoder = {
276 276
     .decode         = decode_frame,
277 277
     .long_name = NULL_IF_CONFIG_SMALL("Beam Software VB"),
278 278
 };
279
-
... ...
@@ -519,4 +519,3 @@ AVCodec ff_vmnc_decoder = {
519 519
     .capabilities   = CODEC_CAP_DR1,
520 520
     .long_name = NULL_IF_CONFIG_SMALL("VMware Screen Codec / VMware Video"),
521 521
 };
522
-
... ...
@@ -1713,4 +1713,3 @@ AVCodec ff_vorbis_decoder = {
1713 1713
         AV_SAMPLE_FMT_FLT, AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_NONE
1714 1714
     },
1715 1715
 };
1716
-
... ...
@@ -525,4 +525,3 @@ int ff_wma_run_level_decode(AVCodecContext* avctx, GetBitContext* gb,
525 525
 
526 526
     return 0;
527 527
 }
528
-
... ...
@@ -425,4 +425,3 @@ AVCodec ff_xan_wc4_decoder = {
425 425
     .capabilities   = CODEC_CAP_DR1,
426 426
     .long_name = NULL_IF_CONFIG_SMALL("Wing Commander IV / Xxan"),
427 427
 };
428
-
... ...
@@ -672,4 +672,3 @@ AVCodec ff_zmbv_decoder = {
672 672
     .capabilities   = CODEC_CAP_DR1,
673 673
     .long_name = NULL_IF_CONFIG_SMALL("Zip Motion Blocks Video"),
674 674
 };
675
-
... ...
@@ -77,4 +77,3 @@ const char *avdevice_license(void);
77 77
 void avdevice_register_all(void);
78 78
 
79 79
 #endif /* AVDEVICE_AVDEVICE_H */
80
-
... ...
@@ -297,4 +297,3 @@ AVFilterBufferRef *avfilter_null_get_audio_buffer(AVFilterLink *link, int perms,
297 297
     return avfilter_get_audio_buffer(link->dst->outputs[0], perms, sample_fmt,
298 298
                                      size, channel_layout, packed);
299 299
 }
300
-
... ...
@@ -181,4 +181,3 @@ void avfilter_formats_changeref(AVFilterFormats **oldref,
181 181
         *oldref = NULL;
182 182
     }
183 183
 }
184
-
... ...
@@ -143,4 +143,3 @@ AVFilter avfilter_vf_setsar = {
143 143
                                   { .name = NULL}},
144 144
 };
145 145
 #endif /* CONFIG_SETSAR_FILTER */
146
-
... ...
@@ -144,4 +144,3 @@ AVFilter avfilter_vf_noformat = {
144 144
                                   { .name = NULL}},
145 145
 };
146 146
 #endif /* CONFIG_NOFORMAT_FILTER */
147
-
... ...
@@ -103,4 +103,3 @@ AVInputFormat ff_aea_demuxer = {
103 103
     .flags= AVFMT_GENERIC_INDEX,
104 104
     .extensions = "aea",
105 105
 };
106
-
... ...
@@ -352,4 +352,3 @@ int ff_check_interrupt(AVIOInterruptCB *cb)
352 352
         return ret;
353 353
     return 0;
354 354
 }
355
-
... ...
@@ -265,4 +265,3 @@ char *ff_http_auth_create_response(HTTPAuthState *state, const char *auth,
265 265
     }
266 266
     return authstr;
267 267
 }
268
-
... ...
@@ -39,4 +39,3 @@ extern const char * const ff_id3v1_genre_str[ID3v1_GENRE_MAX + 1];
39 39
 void ff_id3v1_read(AVFormatContext *s);
40 40
 
41 41
 #endif /* AVFORMAT_ID3V1_H */
42
-
... ...
@@ -130,4 +130,3 @@ AVInputFormat ff_iss_demuxer = {
130 130
     .read_header    = iss_read_header,
131 131
     .read_packet    = iss_read_packet,
132 132
 };
133
-
... ...
@@ -346,4 +346,3 @@ AVInputFormat ff_lxf_demuxer = {
346 346
     .read_packet    = lxf_read_packet,
347 347
     .codec_tag      = (const AVCodecTag* const []){lxf_tags, 0},
348 348
 };
349
-
... ...
@@ -68,4 +68,3 @@ void ff_metadata_conv_ctx(AVFormatContext *ctx, const AVMetadataConv *d_conv,
68 68
     for (i=0; i<ctx->nb_programs; i++)
69 69
         ff_metadata_conv(&ctx->programs[i]->metadata, d_conv, s_conv);
70 70
 }
71
-
... ...
@@ -459,4 +459,3 @@ void ff_mov_close_hinting(MOVTrack *track) {
459 459
     }
460 460
     avformat_free_context(rtp_ctx);
461 461
 }
462
-
... ...
@@ -182,4 +182,3 @@ int ff_is_multicast_address(struct sockaddr *addr)
182 182
 
183 183
     return 0;
184 184
 }
185
-
... ...
@@ -442,4 +442,3 @@ AVInputFormat ff_oma_demuxer = {
442 442
     .extensions     = "oma,omg,aa3",
443 443
     .codec_tag      = (const AVCodecTag* const []){ff_oma_codec_tags, 0},
444 444
 };
445
-
... ...
@@ -294,4 +294,3 @@ AVInputFormat ff_rl2_demuxer = {
294 294
     .read_packet    = rl2_read_packet,
295 295
     .read_seek      = rl2_read_seek,
296 296
 };
297
-
... ...
@@ -205,4 +205,3 @@ RTPDynamicProtocolHandler ff_amr_wb_dynamic_handler = {
205 205
     .free             = amr_free_context,
206 206
     .parse_packet     = amr_handle_packet,
207 207
 };
208
-
... ...
@@ -105,4 +105,3 @@ RTPDynamicProtocolHandler ff_h263_2000_dynamic_handler = {
105 105
     .codec_id         = CODEC_ID_H263,
106 106
     .parse_packet     = h263_handle_packet,
107 107
 };
108
-
... ...
@@ -63,4 +63,3 @@ void ff_rtp_send_amr(AVFormatContext *s1, const uint8_t *buff, int size)
63 63
     memcpy(s->buf_ptr, buff, size);
64 64
     s->buf_ptr += size;
65 65
 }
66
-
... ...
@@ -83,4 +83,3 @@ AVFormatContext *ff_rtp_chain_mux_open(AVFormatContext *s, AVStream *st,
83 83
 
84 84
     return rtpctx;
85 85
 }
86
-
... ...
@@ -115,5 +115,3 @@ void ff_rtp_send_mpegvideo(AVFormatContext *s1, const uint8_t *buf1, int size)
115 115
         end_of_slice = 0;
116 116
     }
117 117
 }
118
-
119
-
... ...
@@ -1997,4 +1997,3 @@ AVInputFormat ff_rtp_demuxer = {
1997 1997
     .priv_class     = &rtp_demuxer_class
1998 1998
 };
1999 1999
 #endif /* CONFIG_RTP_DEMUXER */
2000
-
... ...
@@ -245,4 +245,3 @@ AVOutputFormat ff_rtsp_muxer = {
245 245
     .flags = AVFMT_NOFILE | AVFMT_GLOBALHEADER,
246 246
     .priv_class = &rtsp_muxer_class,
247 247
 };
248
-
... ...
@@ -236,4 +236,3 @@ AVInputFormat ff_sap_demuxer = {
236 236
     .read_close     = sap_read_close,
237 237
     .flags = AVFMT_NOFILE,
238 238
 };
239
-
... ...
@@ -261,4 +261,3 @@ AVOutputFormat ff_sap_muxer = {
261 261
     .write_trailer     = sap_write_close,
262 262
     .flags = AVFMT_NOFILE | AVFMT_GLOBALHEADER,
263 263
 };
264
-
... ...
@@ -642,4 +642,3 @@ void ff_sdp_write_media(char *buff, int size, AVCodecContext *c, const char *des
642 642
 {
643 643
 }
644 644
 #endif
645
-
... ...
@@ -516,4 +516,3 @@ void ff_free_parser_state(AVFormatContext *s, AVParserState *state)
516 516
     av_free(state->stream_states);
517 517
     av_free(state);
518 518
 }
519
-
... ...
@@ -41,4 +41,3 @@ const AVCRC *av_crc_get_table(AVCRCId crc_id);
41 41
 uint32_t av_crc(const AVCRC *ctx, uint32_t start_crc, const uint8_t *buffer, size_t length) av_pure;
42 42
 
43 43
 #endif /* AVUTIL_CRC_H */
44
-
... ...
@@ -95,4 +95,3 @@ AVExtFloat av_dbl2ext(double d){
95 95
         ext.exponent[0] |= 0x80;
96 96
     return ext;
97 97
 }
98
-
... ...
@@ -43,4 +43,3 @@ void av_md5_sum(uint8_t *dst, const uint8_t *src, const int len);
43 43
  */
44 44
 
45 45
 #endif /* AVUTIL_MD5_H */
46
-
... ...
@@ -170,4 +170,3 @@ char *av_strdup(const char *s)
170 170
     }
171 171
     return ptr;
172 172
 }
173
-
... ...
@@ -346,4 +346,3 @@ DEFINE_SHUFFLE_BYTES(0, 3, 2, 1)
346 346
 DEFINE_SHUFFLE_BYTES(1, 2, 3, 0)
347 347
 DEFINE_SHUFFLE_BYTES(3, 0, 1, 2)
348 348
 DEFINE_SHUFFLE_BYTES(3, 2, 1, 0)
349
-
... ...
@@ -1533,4 +1533,3 @@ struct SwsContext *sws_getCachedContext(struct SwsContext *context,
1533 1533
     }
1534 1534
     return context;
1535 1535
 }
1536
-