qtdemux: enlarge the maximal atom size

For 8K content, frame size is over 25MB, and cause the negotiation failure.
Enlarge the limitation of QTDEMUX_MAX_ATOM_SIZE to 32MB.
This commit is contained in:
luke.lin 2019-08-07 11:42:21 +09:00 committed by WEI CHENG LIN
parent 5c7423d73c
commit d6ae59c32d

View file

@ -80,7 +80,7 @@
#endif
/* max. size considered 'sane' for non-mdat atoms */
#define QTDEMUX_MAX_ATOM_SIZE (25*1024*1024)
#define QTDEMUX_MAX_ATOM_SIZE (32*1024*1024)
/* if the sample index is larger than this, something is likely wrong */
#define QTDEMUX_MAX_SAMPLE_INDEX_SIZE (200*1024*1024)