diff options
author | Sean Bright <sean.bright@gmail.com> | 2017-12-22 09:23:22 -0500 |
---|---|---|
committer | Sean Bright <sean.bright@gmail.com> | 2017-12-22 09:23:22 -0500 |
commit | fd0ca1c3f9b972a52d48a82b492fd6bac772dc78 (patch) | |
tree | 42d2a87726d196f4db1c68489007520a4c597062 /channels/vcodecs.c | |
parent | 9ef97b5a9191e51f1edc66bb17728fd9fe552c35 (diff) |
Remove as much trailing whitespace as possible.
Change-Id: I873c1c6d00f447269bd841494459efccdd2c19c0
Diffstat (limited to 'channels/vcodecs.c')
-rw-r--r-- | channels/vcodecs.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/channels/vcodecs.c b/channels/vcodecs.c index 76aeb671f..e55c5fef9 100644 --- a/channels/vcodecs.c +++ b/channels/vcodecs.c @@ -154,7 +154,7 @@ static void check_h261(struct fbuf_t *b) { struct bitbuf a = bitbuf_init(b->data, b->used * 8, 0); uint32_t x, y; - + x = getbits(&a, 20); /* PSC, 0000 0000 0000 0001 0000 */ if (x != 0x10) { ast_log(LOG_WARNING, "bad PSC 0x%x\n", x); @@ -386,7 +386,7 @@ static struct ast_frame *h263p_encap(struct fbuf_t *b, int mtu, ast_log(LOG_WARNING, "--- frame error l %d\n", l); break; } - + if (d[0] == 0 && d[1] == 0) { /* we start with a psc */ h = 0; } else { /* no psc, create a header */ @@ -568,8 +568,8 @@ static int h263_enc_init(AVCodecContext *enc_ctx) * TR:8 .... .... temporal reference * PTYPE:13 or more ptype... * If we don't fragment a GOB SBIT and EBIT = 0. - * reference, 8 bit) - * + * reference, 8 bit) + * * The assumption below is that we start with a PSC. */ static struct ast_frame *h263_encap(struct fbuf_t *b, int mtu, @@ -695,7 +695,7 @@ static struct video_codec_desc h263_codec = { .dec_init = NULL, .dec_decap = h263_decap, .dec_run = ffmpeg_decode - + }; /*---- h261 support -----*/ @@ -947,7 +947,7 @@ static int h264_dec_init(AVCodecContext *dec_ctx) * - 0..n 0-byte(s), unused, optional. one zero-byte is always present * in the first NAL before the start code prefix. * - start code prefix (3 bytes): 0x000001 - * (the first bytestream has a + * (the first bytestream has a * like these 0x00000001!) * - NAL header byte ( F[1] | NRI[2] | Type[5] ) where type != 0 * - byte-stream @@ -1127,7 +1127,7 @@ static const struct _cm video_formats[] = { { AST_FORMAT_MP4_VIDEO, CODEC_ID_MPEG4, CM_RDWR }, { 0, 0, 0 }, }; - + /*! \brief map an asterisk format into an ffmpeg one */ static enum CodecID map_video_format(uint32_t ast_format, int rw) |