summaryrefslogtreecommitdiffstats
path: root/libhb/stream.c
diff options
context:
space:
mode:
authorjbrjake <[email protected]>2007-07-25 19:02:12 +0000
committerjbrjake <[email protected]>2007-07-25 19:02:12 +0000
commit6934e983fd9b10317828d6527d8102ef8f9123bc (patch)
treebaf5020f9d51235e12410718a0fd382712a309bf /libhb/stream.c
parentab7c2f4a291e410511c1904c1d56cc9a14682c3b (diff)
Ok, this should fix compilation. Instead of using the 2-letter language code for "Unknown" (which is a blank string) I've set it to use the 3-letter code ("und" for undetermined). There could easily be a better way to do this. C strings are not my forte.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@732 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/stream.c')
-rwxr-xr-xlibhb/stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/stream.c b/libhb/stream.c
index da4a9111b..1ac2eb68a 100755
--- a/libhb/stream.c
+++ b/libhb/stream.c
@@ -553,7 +553,7 @@ void hb_stream_update_audio(hb_stream_t *stream, hb_audio_t *audio)
if (stream->stream_type == hb_stream_type_program)
{
- lang = lang_for_code('');
+ lang = lang_for_code('u' << 8 | 'n' << 8 | 'd');
}
else if (stream->stream_type == hb_stream_type_transport)
{