projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f90688
)
matroskadec: minor simplification
author
Aurelien Jacobs
<aurel@gnuage.org>
Tue, 17 Aug 2010 14:25:14 +0000
(14:25 +0000)
committer
Aurelien Jacobs
<aurel@gnuage.org>
Tue, 17 Aug 2010 14:25:14 +0000
(14:25 +0000)
patch from reimar
Originally committed as revision 24804 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/matroskadec.c
patch
|
blob
|
history
diff --git
a/libavformat/matroskadec.c
b/libavformat/matroskadec.c
index ab5e1d13cfba6a828efdcb7b39d6d4af4529334c..27dd9b2e03c380a4bcd2a5dae702c5ae2e826154 100644
(file)
--- a/
libavformat/matroskadec.c
+++ b/
libavformat/matroskadec.c
@@
-1734,7
+1734,7
@@
static int matroska_parse_block(MatroskaDemuxContext *matroska, uint8_t *data,
int offset = 0, pkt_size = lace_size[n];
uint8_t *pkt_data = data;
- if (
lace_size[n]
> size) {
+ if (
pkt_size
> size) {
av_log(matroska->ctx, AV_LOG_ERROR, "Invalid packet size\n");
break;
}