|
@@ -956,7 +956,7 @@ static int mpegts_write_packet(AVFormatContext *s, AVPacket *pkt) |
|
|
|
|
|
|
|
|
if (pkt->size < 5 || AV_RB32(pkt->data) != 0x0000001) { |
|
|
if (pkt->size < 5 || AV_RB32(pkt->data) != 0x0000001) { |
|
|
av_log(s, AV_LOG_ERROR, "H.264 bitstream malformed, " |
|
|
av_log(s, AV_LOG_ERROR, "H.264 bitstream malformed, " |
|
|
"no startcode found, use -vbsf h264_mp4toannexb\n"); |
|
|
|
|
|
|
|
|
"no startcode found, use -bsf h264_mp4toannexb\n"); |
|
|
return -1; |
|
|
return -1; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|