Merge commit 'd04c17c91363a6b15d1ac2d79c817f3d5e2998b3'
* commit 'd04c17c91363a6b15d1ac2d79c817f3d5e2998b3': swfdec: cosmetics: fix indentation Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -399,22 +399,22 @@ bitmap_end_skip:
|
|||||||
for (i = 0; i < s->nb_streams; i++) {
|
for (i = 0; i < s->nb_streams; i++) {
|
||||||
st = s->streams[i];
|
st = s->streams[i];
|
||||||
if (st->codec->codec_type == AVMEDIA_TYPE_AUDIO && st->id == -1) {
|
if (st->codec->codec_type == AVMEDIA_TYPE_AUDIO && st->id == -1) {
|
||||||
if (st->codec->codec_id == AV_CODEC_ID_MP3) {
|
if (st->codec->codec_id == AV_CODEC_ID_MP3) {
|
||||||
avio_skip(pb, 4);
|
avio_skip(pb, 4);
|
||||||
len -= 4;
|
len -= 4;
|
||||||
if (len <= 0)
|
if (len <= 0)
|
||||||
goto skip;
|
goto skip;
|
||||||
if ((res = av_get_packet(pb, pkt, len)) < 0)
|
if ((res = av_get_packet(pb, pkt, len)) < 0)
|
||||||
return res;
|
return res;
|
||||||
} else { // ADPCM, PCM
|
} else { // ADPCM, PCM
|
||||||
if (len <= 0)
|
if (len <= 0)
|
||||||
goto skip;
|
goto skip;
|
||||||
if ((res = av_get_packet(pb, pkt, len)) < 0)
|
if ((res = av_get_packet(pb, pkt, len)) < 0)
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
pkt->pos = pos;
|
pkt->pos = pos;
|
||||||
pkt->stream_index = st->index;
|
pkt->stream_index = st->index;
|
||||||
return pkt->size;
|
return pkt->size;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else if (tag == TAG_JPEG2) {
|
} else if (tag == TAG_JPEG2) {
|
||||||
|
Reference in New Issue
Block a user