Mercurial > libavformat.hg
changeset 91:0c5a7b4ccca9 libavformat
db video chunk in avi files support (idea by Dmitry Poplavsky <dima at thekompany dot com>)
author | michaelni |
---|---|
date | Thu, 20 Mar 2003 01:04:33 +0000 |
parents | 27d6df9208d4 |
children | 5a4b5f03d13e |
files | avidec.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/avidec.c Tue Mar 18 17:22:23 2003 +0000 +++ b/avidec.c Thu Mar 20 01:04:33 2003 +0000 @@ -254,7 +254,8 @@ n= (d[0] - '0') * 10 + (d[1] - '0'); if( d[0] >= '0' && d[0] <= '9' && d[1] >= '0' && d[1] <= '9' - &&((d[2] == 'd' && d[3] == 'c') || (d[2] == 'w' && d[3] == 'b')) + &&((d[2] == 'd' && d[3] == 'c') || (d[2] == 'w' && d[3] == 'b') || (d[2] == 'd' && d[3] == 'b') ) + && n < s->nb_streams && i + size <= avi->movi_end){