* [FFmpeg-devel] libavformat/mux.c: check AVFMT_NOTIMESTAMPS flags.
@ 2022-11-02 5:49 乔海娇
2022-11-02 6:46 ` "zhilizhao(赵志立)"
0 siblings, 1 reply; 2+ messages in thread
From: 乔海娇 @ 2022-11-02 5:49 UTC (permalink / raw)
To: ffmpeg-devel
[-- Attachment #1: Type: text/plain, Size: 725 bytes --]
#/******本邮件及其附件含有小米公司的保密信息,仅限于发送给上面地址中列出的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、或散发)本邮件中的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本邮件! This e-mail and its attachments contain confidential information from XIAOMI, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it!******/#
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-libavformat-mux.c-check-AVFMT_NOTIMESTAMPS-flags.patch --]
[-- Type: text/x-patch; name="0001-libavformat-mux.c-check-AVFMT_NOTIMESTAMPS-flags.patch", Size: 1021 bytes --]
From 5d3708e0c80e0cf720e3bb59e746f490d8c7f39e Mon Sep 17 00:00:00 2001
From: qiaohaijiao1 <qiaohaijiao1@xiaomi.com>
Date: Tue, 1 Nov 2022 20:29:56 +0800
Subject: [PATCH] libavformat/mux.c: check AVFMT_NOTIMESTAMPS flags.
Signed-off-by: qiaohaijiao1 <qiaohaijiao1@xiaomi.com>
Change-Id: I10f7555201b33cbf2e23694446e80c6bd0f4be72
Signed-off-by: qiaohaijiao1 <qiaohaijiao1@xiaomi.com>
---
libavformat/mux.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/mux.c b/libavformat/mux.c
index 5d89458f82..061bf701d6 100644
--- a/libavformat/mux.c
+++ b/libavformat/mux.c
@@ -1117,7 +1117,7 @@ static int write_packet_common(AVFormatContext *s, AVStream *st, AVPacket *pkt,
guess_pkt_duration(s, st, pkt);
#if FF_API_COMPUTE_PKT_FIELDS2
- if ((ret = compute_muxer_pkt_fields(s, st, pkt)) < 0 && !(s->oformat->flags & AVFMT_NOTIMESTAMPS))
+ if (!(s->oformat->flags & AVFMT_NOTIMESTAMPS) && (ret = compute_muxer_pkt_fields(s, st, pkt)) < 0)
return ret;
#endif
--
2.25.1
[-- Attachment #3: Type: text/plain, Size: 251 bytes --]
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [FFmpeg-devel] libavformat/mux.c: check AVFMT_NOTIMESTAMPS flags.
2022-11-02 5:49 [FFmpeg-devel] libavformat/mux.c: check AVFMT_NOTIMESTAMPS flags 乔海娇
@ 2022-11-02 6:46 ` "zhilizhao(赵志立)"
0 siblings, 0 replies; 2+ messages in thread
From: "zhilizhao(赵志立)" @ 2022-11-02 6:46 UTC (permalink / raw)
To: FFmpeg development discussions and patches
> On Nov 2, 2022, at 13:49, 乔海娇 <qiaohaijiao1@xiaomi.com> wrote:
>
>
> #/******本邮件及其附件含有小米公司的保密信息,仅限于发送给上面地址中列出的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、或散发)本邮件中的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本邮件! This e-mail and its attachments contain confidential information from XIAOMI, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it!******/#
> <0001-libavformat-mux.c-check-AVFMT_NOTIMESTAMPS-flags.patch>_______________________________________________
Please describe why the patch is needed.
Also, please remove the email signature since this is a public mailing list.
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-11-02 6:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-02 5:49 [FFmpeg-devel] libavformat/mux.c: check AVFMT_NOTIMESTAMPS flags 乔海娇
2022-11-02 6:46 ` "zhilizhao(赵志立)"
Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
This inbox may be cloned and mirrored by anyone:
git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
ffmpegdev@gitmailbox.com
public-inbox-index ffmpegdev
Example config snippet for mirrors.
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git