diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-11-28 11:35:08 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-11-28 11:35:08 +0100 |
commit | a105c1f204bd820246a18b6af6d85f5a4839e000 (patch) | |
tree | 179e89b16ba3dec2d17561fd5e806e7b279d7af5 /libavformat/rtmpproto.c | |
parent | ea38e5a6b75706477898eb1e6582d667dbb9946c (diff) | |
parent | 857e6667f9061ae261c0b951113e4efc4329b05e (diff) | |
download | ffmpeg-a105c1f204bd820246a18b6af6d85f5a4839e000.tar.gz |
Merge commit '857e6667f9061ae261c0b951113e4efc4329b05e'
* commit '857e6667f9061ae261c0b951113e4efc4329b05e':
rtmpproto: Clarify a comment
Conflicts:
libavformat/rtmpproto.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/rtmpproto.c')
-rw-r--r-- | libavformat/rtmpproto.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavformat/rtmpproto.c b/libavformat/rtmpproto.c index 38e2a0061a..5532b50489 100644 --- a/libavformat/rtmpproto.c +++ b/libavformat/rtmpproto.c @@ -3021,6 +3021,9 @@ static int rtmp_write(URLContext *s, const uint8_t *buf, int size) &rt->nb_prev_pkt[1], channel)) < 0) return ret; + // Force sending a full 12 bytes header by cleaing the + // channel id, to make it not match a potential earlier + // packet in the same channel. rt->prev_pkt[1][channel].channel_id = 0; } |