Commit e319e9ba authored by bcoudurier's avatar bcoudurier

remove unneeded variable

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@12971 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 7ebff930
...@@ -731,7 +731,6 @@ static int mov_read_stsd(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom) ...@@ -731,7 +731,6 @@ static int mov_read_stsd(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
uint8_t codec_name[32]; uint8_t codec_name[32];
unsigned int color_depth; unsigned int color_depth;
int color_greyscale; int color_greyscale;
int frames_per_sample;
st->codec->codec_id = id; st->codec->codec_id = id;
get_be16(pb); /* version */ get_be16(pb); /* version */
...@@ -746,9 +745,7 @@ static int mov_read_stsd(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom) ...@@ -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); /* horiz resolution */
get_be32(pb); /* vert resolution */ get_be32(pb); /* vert resolution */
get_be32(pb); /* data size, always 0 */ get_be32(pb); /* data size, always 0 */
frames_per_sample = get_be16(pb); /* frames per samples */ get_be16(pb); /* frames per samples */
dprintf(c->fc, "frames/samples = %d\n", frames_per_sample);
get_buffer(pb, codec_name, 32); /* codec name, pascal string (FIXME: true for mp4?) */ get_buffer(pb, codec_name, 32); /* codec name, pascal string (FIXME: true for mp4?) */
if (codec_name[0] <= 31) { if (codec_name[0] <= 31) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment