projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47f9a5b
)
avformat/mpegts: print packet size warning only if new size differs from old
author
Michael Niedermayer
<michaelni@gmx.at>
Sun, 18 Aug 2013 19:30:19 +0000
(21:30 +0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sun, 18 Aug 2013 20:45:39 +0000
(22:45 +0200)
No case is known to have triggered this, but its more correct to check that the
new size differs.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/mpegts.c
patch
|
blob
|
history
diff --git
a/libavformat/mpegts.c
b/libavformat/mpegts.c
index
e1f9865
..
1213eca
100644
(file)
--- a/
libavformat/mpegts.c
+++ b/
libavformat/mpegts.c
@@
-1929,7
+1929,7
@@
static void reanalyze(MpegTSContext *ts) {
} else if (ts->size_stat[2] > SIZE_STAT_THRESHOLD) {
newsize = TS_FEC_PACKET_SIZE;
}
- if (newsize) {
+ if (newsize
&& newsize != ts->raw_packet_size
) {
av_log(ts->stream, AV_LOG_WARNING, "changing packet size to %d\n", newsize);
ts->raw_packet_size = newsize;
}