diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2009-10-01 17:22:01 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2009-10-01 17:22:01 +0000 |
commit | d4c1803e0e5258b2157be9fae8bf1fd2c295f56c (patch) | |
tree | 6f30e8781a5c24f7e0216a6073d4416fab3a4b41 /libavformat/raw.c | |
parent | b46c98bf66d41030ccf59f0bb876bab8dd128134 (diff) | |
download | ffmpeg-d4c1803e0e5258b2157be9fae8bf1fd2c295f56c.tar.gz |
Remove pointless setting of pkt->size, av_get_packet already handles this.
Originally committed as revision 20128 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/raw.c')
-rw-r--r-- | libavformat/raw.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libavformat/raw.c b/libavformat/raw.c index dc93083e5b..3c118b36c2 100644 --- a/libavformat/raw.c +++ b/libavformat/raw.c @@ -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) |