codecparsers: Indent file

Someone's been commiting without using gst-indent :)
This commit is contained in:
Edward Hervey 2015-01-23 12:26:16 +01:00
parent 3da1c9c8d5
commit aebec9bd24

View file

@ -11,11 +11,10 @@
#include "dboolhuff.h"
int vp8dx_start_decode(BOOL_DECODER *br,
int
vp8dx_start_decode (BOOL_DECODER * br,
const unsigned char *source,
unsigned int source_sz,
vp8_decrypt_cb *decrypt_cb,
void *decrypt_state)
unsigned int source_sz, vp8_decrypt_cb * decrypt_cb, void *decrypt_state)
{
br->user_buffer_end = source + source_sz;
br->user_buffer = source;
@ -34,7 +33,8 @@ int vp8dx_start_decode(BOOL_DECODER *br,
return 0;
}
void vp8dx_bool_decoder_fill(BOOL_DECODER *br)
void
vp8dx_bool_decoder_fill (BOOL_DECODER * br)
{
const unsigned char *bufptr = br->user_buffer;
VP8_BD_VALUE value = br->value;
@ -47,21 +47,19 @@ void vp8dx_bool_decoder_fill(BOOL_DECODER *br)
unsigned char decrypted[sizeof (VP8_BD_VALUE) + 1];
if (br->decrypt_cb) {
size_t n = bytes_left > sizeof(decrypted) ? sizeof(decrypted) : bytes_left;
size_t n =
bytes_left > sizeof (decrypted) ? sizeof (decrypted) : bytes_left;
br->decrypt_cb (br->decrypt_state, bufptr, decrypted, (int) n);
bufptr = decrypted;
}
if(x >= 0)
{
if (x >= 0) {
count += VP8_LOTS_OF_BITS;
loop_end = x;
}
if (x < 0 || bits_left)
{
while(shift >= loop_end)
{
if (x < 0 || bits_left) {
while (shift >= loop_end) {
count += CHAR_BIT;
value |= (VP8_BD_VALUE) * bufptr << shift;
++bufptr;