Skip to content
Snippets Groups Projects
Commit 8a62a378 authored by Reimar Döffinger's avatar Reimar Döffinger
Browse files

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

Originally committed as revision 20139 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent a7a9dd0e
No related branches found
No related tags found
No related merge requests found
...@@ -274,9 +274,6 @@ static int wav_read_packet(AVFormatContext *s, ...@@ -274,9 +274,6 @@ static int wav_read_packet(AVFormatContext *s,
return AVERROR(EIO); return AVERROR(EIO);
pkt->stream_index = 0; pkt->stream_index = 0;
/* note: we need to modify the packet size here to handle the last
packet */
pkt->size = ret;
return ret; return ret;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment