Originally committed as revision 18011 to svn://svn.ffmpeg.org/ffmpeg/trunk
Ronald S. Bultje authored on 2009/03/16 22:01:02... | ... |
@@ -314,9 +314,9 @@ rdt_parse_packet (AVFormatContext *ctx, PayloadContext *rdt, AVStream *st, |
314 | 314 |
return res; |
315 | 315 |
if (res > 0) { |
316 | 316 |
if (st->codec->codec_id == CODEC_ID_AAC) { |
317 |
- memcpy (rdt->buffer, buf + pos, len - pos); |
|
318 |
- rdt->rmctx->pb = av_alloc_put_byte (rdt->buffer, len - pos, 0, |
|
319 |
- NULL, NULL, NULL, NULL); |
|
317 |
+ memcpy (rdt->buffer, buf + pos, len - pos); |
|
318 |
+ rdt->rmctx->pb = av_alloc_put_byte (rdt->buffer, len - pos, 0, |
|
319 |
+ NULL, NULL, NULL, NULL); |
|
320 | 320 |
} |
321 | 321 |
goto get_cache; |
322 | 322 |
} |
... | ... |
@@ -691,7 +691,7 @@ ff_rm_retrieve_cache (AVFormatContext *s, ByteIOContext *pb, |
691 | 691 |
ast->audiotimestamp = AV_NOPTS_VALUE; |
692 | 692 |
pkt->flags = PKT_FLAG_KEY; |
693 | 693 |
} else |
694 |
- pkt->flags = 0; |
|
694 |
+ pkt->flags = 0; |
|
695 | 695 |
pkt->stream_index = st->index; |
696 | 696 |
|
697 | 697 |
return rm->audio_pkt_cnt; |