Commit afea3361 authored by bcoudurier's avatar bcoudurier

set gsm default frame size and bytes per frame, needed by old qt format, fix sample-gsm-8000.mov

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@12950 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 1db0a66c
...@@ -856,6 +856,10 @@ static int mov_read_stsd(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom) ...@@ -856,6 +856,10 @@ static int mov_read_stsd(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
sc->samples_per_frame = 64; sc->samples_per_frame = 64;
sc->bytes_per_frame = 34*st->codec->channels; sc->bytes_per_frame = 34*st->codec->channels;
break; break;
case CODEC_ID_GSM:
sc->samples_per_frame = 160;
sc->bytes_per_frame = 33;
break;
default: default:
break; break;
} }
......
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