diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-09-27 20:00:28 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-10-09 17:15:18 +0200 |
commit | c6007065edd79b6cd8423a27b63e726eee2d868c (patch) | |
tree | 133da6eff7d8e01f93074a12f9cb7315d209f830 /avconv.c | |
parent | 515901fad2ee0f2429d6b457bb4e4f6a5fd98028 (diff) | |
download | ffmpeg-c6007065edd79b6cd8423a27b63e726eee2d868c.tar.gz |
avconv: in output_packet() don't set decoded_data_size for video.
It's only used for audio.
Diffstat (limited to 'avconv.c')
-rw-r--r-- | avconv.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -1600,7 +1600,6 @@ static int output_packet(InputStream *ist, int ist_index, (ist->st->codec->sample_rate * ist->st->codec->channels); break;} case AVMEDIA_TYPE_VIDEO: - decoded_data_size = (ist->st->codec->width * ist->st->codec->height * 3) / 2; if (!(decoded_frame = avcodec_alloc_frame())) return AVERROR(ENOMEM); avpkt.pts = pkt_pts; |