[FFmpeg-devel] [PATCH][COSMETIC] use consistent indent style in oggdec
Måns Rullgård
mans
Sat Feb 14 08:56:57 CET 2009
Peter Ross <pross at xvid.org> writes:
> $subject
>
> -- Peter
> (A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
>
> Index: libavformat/oggdec.c
> ===================================================================
> --- libavformat/oggdec.c (revision 17219)
> +++ libavformat/oggdec.c (working copy)
> @@ -271,11 +271,11 @@
> int seg = os->segments[os->segp++];
> os->pstart += seg;
> if (seg < 255)
> - break;
> + break;
> }
> }
> }else{
> - os->psize = 0;
> + os->psize = 0;
> }
>
> if (os->bufsize - os->bufpos < size){
> @@ -368,13 +368,13 @@
> if (os->header < 0){
> int hdr = os->codec->header (s, idx);
> if (!hdr){
> - os->header = os->seq;
> - os->segp = segp;
> - os->psize = psize;
> - ogg->headers = 1;
> + os->header = os->seq;
> + os->segp = segp;
> + os->psize = psize;
> + ogg->headers = 1;
> }else{
> - os->pstart += os->psize;
> - os->psize = 0;
> + os->pstart += os->psize;
> + os->psize = 0;
> }
> }
>
> @@ -480,7 +480,7 @@
> ogg->curidx = -1;
> //linear headers seek from start
> if (ogg_get_headers (s) < 0){
> - return -1;
> + return -1;
> }
>
> //linear granulepos seek from end
OK
--
M?ns Rullg?rd
mans at mansr.com
More information about the ffmpeg-devel
mailing list