Mercurial > libavcodec.hg
diff h264.c @ 2979:bfabfdf9ce55 libavcodec
COSMETICS: tabs --> spaces, some prettyprinting
author | diego |
---|---|
date | Thu, 22 Dec 2005 01:10:11 +0000 |
parents | 1c22981c3498 |
children | b52d8ee430f6 |
line wrap: on
line diff
--- a/h264.c Wed Dec 21 17:50:40 2005 +0000 +++ b/h264.c Thu Dec 22 01:10:11 2005 +0000 @@ -147,15 +147,15 @@ MpegEncContext s; int nal_ref_idc; int nal_unit_type; -#define NAL_SLICE 1 -#define NAL_DPA 2 -#define NAL_DPB 3 -#define NAL_DPC 4 -#define NAL_IDR_SLICE 5 -#define NAL_SEI 6 -#define NAL_SPS 7 -#define NAL_PPS 8 -#define NAL_AUD 9 +#define NAL_SLICE 1 +#define NAL_DPA 2 +#define NAL_DPB 3 +#define NAL_DPC 4 +#define NAL_IDR_SLICE 5 +#define NAL_SEI 6 +#define NAL_SPS 7 +#define NAL_PPS 8 +#define NAL_AUD 9 #define NAL_END_SEQUENCE 10 #define NAL_END_STREAM 11 #define NAL_FILLER_DATA 12 @@ -1461,7 +1461,7 @@ int i, si, di; uint8_t *dst; -// src[0]&0x80; //forbidden bit +// src[0]&0x80; //forbidden bit h->nal_ref_idc= src[0]>>5; h->nal_unit_type= src[0]&0x1F; @@ -7545,8 +7545,8 @@ case NAL_SPS_EXT: case NAL_AUXILIARY_SLICE: break; - default: - av_log(avctx, AV_LOG_ERROR, "Unknown NAL code: %d\n", h->nal_unit_type); + default: + av_log(avctx, AV_LOG_ERROR, "Unknown NAL code: %d\n", h->nal_unit_type); } }