[MPlayer-cvslog] r38644 - trunk/libmpcodecs/ad_spdif.c
cigaes
subversion at mplayerhq.hu
Sat Sep 21 12:30:04 EEST 2024
Author: cigaes
Date: Sat Sep 21 12:30:04 2024
New Revision: 38644
Log:
libmpcodecs/ad_spdif: fix type of argument
Modified:
trunk/libmpcodecs/ad_spdif.c
Modified: trunk/libmpcodecs/ad_spdif.c
==============================================================================
--- trunk/libmpcodecs/ad_spdif.c Sat Sep 21 12:30:03 2024 (r38643)
+++ trunk/libmpcodecs/ad_spdif.c Sat Sep 21 12:30:04 2024 (r38644)
@@ -131,7 +131,7 @@ static int init(sh_audio_t *sh)
// FORCE USE DTS-HD
if (lavf_ctx->streams[0]->codecpar->codec_id == AV_CODEC_ID_DTS)
av_dict_set(&opts, "dtshd_rate", "768000" /* 192000*4 */, 0);
- if ((res = avformat_write_header(lavf_ctx, opts)) < 0) {
+ if ((res = avformat_write_header(lavf_ctx, &opts)) < 0) {
av_dict_free(&opts);
if (res == AVERROR_PATCHWELCOME)
mp_msg(MSGT_DECAUDIO,MSGL_INFO,
More information about the MPlayer-cvslog
mailing list