c frame size debug stuff
Originally committed as revision 1905 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
3c96b4ef38
commit
4a106616a2
@ -222,12 +222,23 @@ static int fourxm_read_packet(AVFormatContext *s,
|
|||||||
switch (fourcc_tag) {
|
switch (fourcc_tag) {
|
||||||
|
|
||||||
case ifrm_TAG:
|
case ifrm_TAG:
|
||||||
case pfrm_TAG:
|
|
||||||
case cfrm_TAG:
|
|
||||||
printf (" %cfrm chunk\n", (char)(fourcc_tag >> 24) & 0xFF);
|
printf (" %cfrm chunk\n", (char)(fourcc_tag >> 24) & 0xFF);
|
||||||
url_fseek(pb, size, SEEK_CUR);
|
url_fseek(pb, size, SEEK_CUR);
|
||||||
break;
|
break;
|
||||||
|
case pfrm_TAG:
|
||||||
|
printf (" %cfrm chunk\n", (char)(fourcc_tag >> 24) & 0xFF);
|
||||||
|
url_fseek(pb, size, SEEK_CUR);
|
||||||
|
break;
|
||||||
|
case cfrm_TAG:{
|
||||||
|
get_le32(pb);
|
||||||
|
int id= get_le32(pb);
|
||||||
|
int whole= get_le32(pb);
|
||||||
|
static int stats[1000];
|
||||||
|
stats[id] += size - 12;
|
||||||
|
printf(" cfrm chunk id:%d size:%d whole:%d until now:%d\n", id, size, whole, stats[id]);
|
||||||
|
url_fseek(pb, size-12, SEEK_CUR);
|
||||||
|
break;
|
||||||
|
}
|
||||||
case snd__TAG:
|
case snd__TAG:
|
||||||
printf (" snd_ chunk, ");
|
printf (" snd_ chunk, ");
|
||||||
track_number = get_le32(pb);
|
track_number = get_le32(pb);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user