1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

Remove useless setting of pkt->size, av_get_packet already handles that.

Originally committed as revision 20139 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Reimar Döffinger 2009-10-02 07:03:04 +00:00
parent a7a9dd0eb6
commit 8a62a378de

View File

@ -274,9 +274,6 @@ static int wav_read_packet(AVFormatContext *s,
return AVERROR(EIO);
pkt->stream_index = 0;
/* note: we need to modify the packet size here to handle the last
packet */
pkt->size = ret;
return ret;
}