Skip to content

Commit

Permalink
avformat/mpegts: Use STREAM_TYPE_PRIVATE_DATA instead of 6
Browse files Browse the repository at this point in the history
Suggested-by: Wolfgang Lorenz <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
  • Loading branch information
michaelni committed Jun 23, 2015
1 parent b368428 commit b64e704
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libavformat/mpegts.c
Original file line number Diff line number Diff line change
Expand Up @@ -838,7 +838,7 @@ static int mpegts_set_stream_info(AVStream *st, PESContext *pes,
if ((st->codec->codec_id == AV_CODEC_ID_NONE ||
(st->request_probe > 0 && st->request_probe < AVPROBE_SCORE_STREAM_RETRY / 5)) &&
!avcodec_is_open(st->codec) &&
stream_type == 6) {
stream_type == STREAM_TYPE_PRIVATE_DATA) {
st->codec->codec_type = AVMEDIA_TYPE_DATA;
st->codec->codec_id = AV_CODEC_ID_BIN_DATA;
st->request_probe = AVPROBE_SCORE_STREAM_RETRY / 5;
Expand Down

0 comments on commit b64e704

Please sign in to comment.