dashdemux: avoid assertion when splitting buffer
authorThiago Santos <thiagoss@osg.samsung.com>
Fri, 29 May 2015 12:01:29 +0000 (09:01 -0300)
committerThiago Santos <thiagoss@osg.samsung.com>
Fri, 29 May 2015 12:02:42 +0000 (09:02 -0300)
commit53451500ee70d63ce961afc8837ce1215cbb5611
tree6ec76b8b5047afc54e78cb9257e4d67824e58907
parented215068966c381f4528b9b201775eb8fa80a872
dashdemux: avoid assertion when splitting buffer

Pass size=-1 as is if that is the case instead of subtracting
the offset. Otherwise we have an invalid size passed for that
buffer.
ext/dash/gstdashdemux.c