Commit 8c063ab7 authored by reimar's avatar reimar

Remove pointless setting of pkt->size, av_get_packet already handles this.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20128 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 2a5a6b45
......@@ -123,9 +123,6 @@ static int raw_read_packet(AVFormatContext *s, AVPacket *pkt)
if (ret <= 0) {
return AVERROR(EIO);
}
/* note: we need to modify the packet size here to handle the last
packet */
pkt->size = ret;
bps= av_get_bits_per_sample(s->streams[0]->codec->codec_id);
assert(bps); // if false there IS a bug elsewhere (NOT in this function)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment