Mercurial > libavformat.hg
changeset 1327:dac7743ba1ee libavformat
dont ignore MAX_READ_SIZE
author | michael |
---|---|
date | Tue, 26 Sep 2006 17:25:28 +0000 |
parents | 142fb755fbf5 |
children | 73f30bfae745 |
files | utils.c |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/utils.c Tue Sep 26 17:09:03 2006 +0000 +++ b/utils.c Tue Sep 26 17:25:28 2006 +0000 @@ -1811,13 +1811,12 @@ ret = count; break; } - } else { + } /* we did not get all the codec info, but we read too much data */ if (read_size >= MAX_READ_SIZE) { ret = count; break; } - } /* NOTE: a new stream can be added there if no header in file (AVFMTCTX_NOHEADER) */