diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-04-25 16:50:06 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-04-25 16:50:06 +0000 |
commit | 43612ffe25f54f122562723765dacc362f51d287 (patch) | |
tree | fa582a335eb4d6528421e8be62d42ec1789da03f /libavformat/mov.c | |
parent | baf9fb32c02512c6bd647e9f4f2c72830769fb12 (diff) | |
download | ffmpeg-43612ffe25f54f122562723765dacc362f51d287.tar.gz |
remove unneeded variable
Originally committed as revision 12971 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mov.c')
-rw-r--r-- | libavformat/mov.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c index 5182c7983f..8afd6cff69 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -731,7 +731,6 @@ static int mov_read_stsd(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom) uint8_t codec_name[32]; unsigned int color_depth; int color_greyscale; - int frames_per_sample; st->codec->codec_id = id; get_be16(pb); /* version */ @@ -746,9 +745,7 @@ static int mov_read_stsd(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom) get_be32(pb); /* horiz resolution */ get_be32(pb); /* vert resolution */ get_be32(pb); /* data size, always 0 */ - frames_per_sample = get_be16(pb); /* frames per samples */ - - dprintf(c->fc, "frames/samples = %d\n", frames_per_sample); + get_be16(pb); /* frames per samples */ get_buffer(pb, codec_name, 32); /* codec name, pascal string (FIXME: true for mp4?) */ if (codec_name[0] <= 31) { |