Use consistent indent style in oggdec.
Originally committed as revision 17227 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
aea0b32cbc
commit
bad4a6bbb7
@ -271,11 +271,11 @@ ogg_read_page (AVFormatContext * s, int *str)
|
|||||||
int seg = os->segments[os->segp++];
|
int seg = os->segments[os->segp++];
|
||||||
os->pstart += seg;
|
os->pstart += seg;
|
||||||
if (seg < 255)
|
if (seg < 255)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}else{
|
}else{
|
||||||
os->psize = 0;
|
os->psize = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (os->bufsize - os->bufpos < size){
|
if (os->bufsize - os->bufpos < size){
|
||||||
@ -368,13 +368,13 @@ ogg_packet (AVFormatContext * s, int *str, int *dstart, int *dsize)
|
|||||||
if (os->header < 0){
|
if (os->header < 0){
|
||||||
int hdr = os->codec->header (s, idx);
|
int hdr = os->codec->header (s, idx);
|
||||||
if (!hdr){
|
if (!hdr){
|
||||||
os->header = os->seq;
|
os->header = os->seq;
|
||||||
os->segp = segp;
|
os->segp = segp;
|
||||||
os->psize = psize;
|
os->psize = psize;
|
||||||
ogg->headers = 1;
|
ogg->headers = 1;
|
||||||
}else{
|
}else{
|
||||||
os->pstart += os->psize;
|
os->pstart += os->psize;
|
||||||
os->psize = 0;
|
os->psize = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -480,7 +480,7 @@ ogg_read_header (AVFormatContext * s, AVFormatParameters * ap)
|
|||||||
ogg->curidx = -1;
|
ogg->curidx = -1;
|
||||||
//linear headers seek from start
|
//linear headers seek from start
|
||||||
if (ogg_get_headers (s) < 0){
|
if (ogg_get_headers (s) < 0){
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
//linear granulepos seek from end
|
//linear granulepos seek from end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user