Browse Source

oggdec: reindent after 8f3eebd6

Signed-off-by: Diego Biurrun <diego@biurrun.de>
tags/n0.8
Clément Bœsch Diego Biurrun 15 years ago
parent
commit
dc713546d4
1 changed files with 7 additions and 7 deletions
  1. +7
    -7
      libavformat/oggdec.c

+ 7
- 7
libavformat/oggdec.c View File

@@ -242,14 +242,14 @@ ogg_read_page (AVFormatContext * s, int *str)
idx = ogg_find_stream (ogg, serial); idx = ogg_find_stream (ogg, serial);
if (idx < 0){ if (idx < 0){
if (ogg->headers) { if (ogg->headers) {
int n;
int n;


for (n = 0; n < ogg->nstreams; n++) {
av_freep(&ogg->streams[n].buf);
av_freep(&ogg->streams[n].private);
}
ogg->curidx = -1;
ogg->nstreams = 0;
for (n = 0; n < ogg->nstreams; n++) {
av_freep(&ogg->streams[n].buf);
av_freep(&ogg->streams[n].private);
}
ogg->curidx = -1;
ogg->nstreams = 0;
} }
idx = ogg_new_stream (s, serial); idx = ogg_new_stream (s, serial);
if (idx < 0) if (idx < 0)


Loading…
Cancel
Save