mirror of
https://github.com/simon987/sist2.git
synced 2025-04-19 18:26:43 +00:00
Fix multiple content metadata bug (but without compilation error this time)
This commit is contained in:
parent
edba9b7917
commit
2882741926
2
third-party/libscan/libscan/media/media.c
vendored
2
third-party/libscan/libscan/media/media.c
vendored
@ -558,7 +558,7 @@ void parse_media_format_ctx(scan_media_ctx_t *ctx, AVFormatContext *pFormatCtx,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (audio_stream != -1) {
|
if (audio_stream != -1) {
|
||||||
append_audio_meta(pFormatCtx, doc);
|
append_audio_meta(ctx, pFormatCtx, doc);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (video_stream != -1 && ctx->tn_count > 0) {
|
if (video_stream != -1 && ctx->tn_count > 0) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user